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

View File

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

2
x.py
View File

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