im sleepy

This commit is contained in:
xomf 2024-08-17 23:33:47 -04:00
parent e62abe56d6
commit 0c15f13efb
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ local require = function(path)
return __DEFAULT_IMPORT(path)
end
end
local KEYPADOS_UPDATE_HASH = "bKkYwsVcXKtXDBdkQPQTxFYR"
local KEYPADOS_UPDATE_HASH = "xBDnzGEOVIVZyRGGMsKFCptR"
rawset(__BUNDLER_FILES, "updater.lua", function ()
local utils = require("utils.lua")
local LAST_USED = os.time()
@ -33,7 +33,6 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
os.reboot()
else
print("Nothing changed, not updating.")
sleep(50) -- delete this later
LAST_USED = os.time()
return
end
@ -191,6 +190,7 @@ rawset(__BUNDLER_FILES, "ui.lua", function ()
end)
if not status and err ~= "Terminated" then
print("Error detected: " .. err)
sleep(10)
utils.MonReset(0.5)
fs.delete("basalt.lua")
fs.delete("startup.lua")

View File

@ -122,6 +122,7 @@ function mod.InitUi()
if not status and err ~= "Terminated" then
print("Error detected: " .. err)
sleep(10)
utils.MonReset(0.5)
fs.delete("basalt.lua")
fs.delete("startup.lua")

View File

@ -26,7 +26,6 @@ local function checkForUpdate()
os.reboot()
else
print("Nothing changed, not updating.")
sleep(50) -- delete this later
LAST_USED = os.time()
return
end