1
0
forked from xomf/slabOS

Update updater.lua

This commit is contained in:
xomf 2025-05-31 17:41:15 +00:00
parent 88d3fe655f
commit 2dd5de5c9b

View File

@ -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