im sleepy
This commit is contained in:
parent
e62abe56d6
commit
0c15f13efb
|
@ -7,7 +7,7 @@ local require = function(path)
|
||||||
return __DEFAULT_IMPORT(path)
|
return __DEFAULT_IMPORT(path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local KEYPADOS_UPDATE_HASH = "bKkYwsVcXKtXDBdkQPQTxFYR"
|
local KEYPADOS_UPDATE_HASH = "xBDnzGEOVIVZyRGGMsKFCptR"
|
||||||
rawset(__BUNDLER_FILES, "updater.lua", function ()
|
rawset(__BUNDLER_FILES, "updater.lua", function ()
|
||||||
local utils = require("utils.lua")
|
local utils = require("utils.lua")
|
||||||
local LAST_USED = os.time()
|
local LAST_USED = os.time()
|
||||||
|
@ -33,7 +33,6 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
|
||||||
os.reboot()
|
os.reboot()
|
||||||
else
|
else
|
||||||
print("Nothing changed, not updating.")
|
print("Nothing changed, not updating.")
|
||||||
sleep(50) -- delete this later
|
|
||||||
LAST_USED = os.time()
|
LAST_USED = os.time()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -191,6 +190,7 @@ rawset(__BUNDLER_FILES, "ui.lua", function ()
|
||||||
end)
|
end)
|
||||||
if not status and err ~= "Terminated" then
|
if not status and err ~= "Terminated" then
|
||||||
print("Error detected: " .. err)
|
print("Error detected: " .. err)
|
||||||
|
sleep(10)
|
||||||
utils.MonReset(0.5)
|
utils.MonReset(0.5)
|
||||||
fs.delete("basalt.lua")
|
fs.delete("basalt.lua")
|
||||||
fs.delete("startup.lua")
|
fs.delete("startup.lua")
|
||||||
|
|
|
@ -122,6 +122,7 @@ function mod.InitUi()
|
||||||
|
|
||||||
if not status and err ~= "Terminated" then
|
if not status and err ~= "Terminated" then
|
||||||
print("Error detected: " .. err)
|
print("Error detected: " .. err)
|
||||||
|
sleep(10)
|
||||||
utils.MonReset(0.5)
|
utils.MonReset(0.5)
|
||||||
fs.delete("basalt.lua")
|
fs.delete("basalt.lua")
|
||||||
fs.delete("startup.lua")
|
fs.delete("startup.lua")
|
||||||
|
|
|
@ -26,7 +26,6 @@ local function checkForUpdate()
|
||||||
os.reboot()
|
os.reboot()
|
||||||
else
|
else
|
||||||
print("Nothing changed, not updating.")
|
print("Nothing changed, not updating.")
|
||||||
sleep(50) -- delete this later
|
|
||||||
LAST_USED = os.time()
|
LAST_USED = os.time()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user