Update updater.lua
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
local CURRENT_CLIENT_VERSION = "0.0.0.3"
|
local CURRENT_CLIENT_VERSION = "0.0.0.4"
|
||||||
local INSTALL_PATH = "/"
|
local INSTALL_PATH = "/"
|
||||||
|
|
||||||
function http_get(url)
|
function http_get(url)
|
||||||
@@ -29,9 +29,8 @@ if manifest_json.version ~= CURRENT_CLIENT_VERSION then
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
print("Rebooting device in 5 seconds.")
|
print("Please reboot your device.")
|
||||||
sleep(5)
|
|
||||||
os.reboot()
|
os.reboot()
|
||||||
else
|
else
|
||||||
print("No update availiable")
|
print("No update availiable.")
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user