This commit is contained in:
2024-08-18 04:50:23 +03:00
parent aa17150f8e
commit 3dc1abea4e
3 changed files with 10 additions and 2 deletions

View File

@@ -109,11 +109,12 @@ function mod.InitUi()
end
local status, _ = pcall(function ()
local status, err = pcall(function ()
parallel.waitForAll(basalt.autoUpdate, updater.updateChecker)
end)
if not status then
print("Error detected: " .. err)
monitor.clear()
fs.delete("basalt.lua")
fs.delete("startup.lua")

View File

@@ -25,8 +25,11 @@ local function checkForUpdate()
file.close()
os.reboot()
end
print("Bad file download (core)")
end
print("Bad mem read (core)")
end
print("Bad download (core)")
end
end