mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
13 lines
436 B
Lua
13 lines
436 B
Lua
local function grab_installer(info)
|
|
print("Thank you for installing Grab - The official OpenComputerScripts Installer.")
|
|
print("Installer Loaded by: " .. info.version)
|
|
if(info.grab_options and info.grab_options["cn"]) then
|
|
print("China mirror detected.")
|
|
os.execute("grab update --cn")
|
|
else
|
|
os.execute("grab update")
|
|
end
|
|
print("Programs info has been updated.")
|
|
end
|
|
|
|
return grab_installer |