This commit is contained in:
Gvidas Juknevičius 2024-08-25 22:00:12 +03:00
parent 68422b9343
commit 28ceac8643
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ local require = function(path)
return __DEFAULT_IMPORT(path) return __DEFAULT_IMPORT(path)
end end
end end
local __UPDATE_HASH = "56dffe1d3654b028310d4c9dc976b7c7cc8c9d5a" local __UPDATE_HASH = "c4faab9a8d910c7a5777c0d0c8190204a9ae1f53"
rawset(__BUNDLER_FILES, "updater.lua", function () rawset(__BUNDLER_FILES, "updater.lua", function ()
local utils = require("utils.lua") local utils = require("utils.lua")
local config = require("config.lua") local config = require("config.lua")
@ -194,7 +194,7 @@ rawset(__BUNDLER_FILES, "ui.lua", function ()
end end
end end
local status, err = pcall(function () local status, err = pcall(function ()
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker) parallel.waitForAll(basalt.autoUpdate)
end) end)
if not status and err ~= "Terminated" then if not status and err ~= "Terminated" then
print("Error detected: " .. err) print("Error detected: " .. err)
@ -241,4 +241,4 @@ rawset(__BUNDLER_FILES, "main.lua", function ()
end end
return main return main
end) end)
require("main.lua").Main() return require("main.lua").Main

View File

@ -117,7 +117,7 @@ function mod.InitUi()
end end
local status, err = pcall(function () local status, err = pcall(function ()
parallel.waitForAll(basalt.autoUpdate, updater.UpdateChecker) parallel.waitForAll(basalt.autoUpdate)
end) end)
if not status and err ~= "Terminated" then if not status and err ~= "Terminated" then

2
x.py
View File

@ -56,7 +56,7 @@ def main():
print(f"=== FILE: {file}"); print(f"=== FILE: {file}");
buf += read_file(file); buf += read_file(file);
buf += "require(\"main.lua\").Main()\n"; buf += "return require(\"main.lua\").Main\n";
if MINIMISE: if MINIMISE:
buf = minimise(buf); buf = minimise(buf);