mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
Add Pastebin Web Installers
This commit is contained in:
parent
239386b8f3
commit
7b0860de1b
10
grab_pastebin_webinstall.lua
Normal file
10
grab_pastebin_webinstall.lua
Normal file
|
@ -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))
|
10
grab_pastebin_webinstall_cn.lua
Normal file
10
grab_pastebin_webinstall_cn.lua
Normal file
|
@ -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))
|
Loading…
Reference in New Issue
Block a user