diff --git a/grab_pastebin_webinstall.lua b/grab_pastebin_webinstall.lua new file mode 100644 index 0000000..d4fd892 --- /dev/null +++ b/grab_pastebin_webinstall.lua @@ -0,0 +1,10 @@ +-- Global: https://pastebin.com/fiCuN16y + +local computer=require('computer') +print("Grab Pastebin Installer v1.1") +print("Thank you for installing Grab - The official OpenComputerScripts Installer.") +local before=computer.uptime() +os.execute("wget https://raw.githubusercontent.com/Kiritow/OpenComputerScripts/master/grab.lua -f") +print("Almost done, just a few steps...") +os.execute("grab update") +print(string.format("[Done] Grab installed in %.2fs.",computer.uptime()-before)) diff --git a/grab_pastebin_webinstall_cn.lua b/grab_pastebin_webinstall_cn.lua new file mode 100644 index 0000000..b591a96 --- /dev/null +++ b/grab_pastebin_webinstall_cn.lua @@ -0,0 +1,10 @@ +-- China: https://pastebin.com/JXxKZxwh + +local computer=require('computer') +print("Grab Pastebin Installer v1.1 [China Mirror]") +print("Thank you for installing Grab - The official OpenComputerScripts Installer.") +local before=computer.uptime() +os.execute("wget http://kiritow.com:3000/Kiritow/OpenComputerScripts/raw/master/grab.lua -f") +print("Almost done, just a few steps...") +os.execute("grab update --cn") +print(string.format("[Done] Grab installed in %.2fs.",computer.uptime()-before))