:3
This commit is contained in:
parent
cb86e37506
commit
ff50f35461
|
@ -175,7 +175,7 @@ rawset(__BUNDLER_FILES, "ui.lua", function ()
|
||||||
local status, err = pcall(function ()
|
local status, err = pcall(function ()
|
||||||
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker)
|
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker)
|
||||||
end)
|
end)
|
||||||
if not status then
|
if not status and err ~= "Terminated" then
|
||||||
print("Error detected: " .. err)
|
print("Error detected: " .. err)
|
||||||
monitor.clear()
|
monitor.clear()
|
||||||
fs.delete("basalt.lua")
|
fs.delete("basalt.lua")
|
||||||
|
|
|
@ -114,7 +114,7 @@ function mod.InitUi()
|
||||||
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker)
|
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if not status then
|
if not status and err ~= "Terminated" then
|
||||||
print("Error detected: " .. err)
|
print("Error detected: " .. err)
|
||||||
monitor.clear()
|
monitor.clear()
|
||||||
fs.delete("basalt.lua")
|
fs.delete("basalt.lua")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user