From 28ceac864313891a6d046a2f5ba76bab51c64bc5 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 25 Aug 2024 22:00:12 +0300 Subject: [PATCH] :3 --- keypadOS.lua | 6 +++--- src/ui.lua | 2 +- x.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keypadOS.lua b/keypadOS.lua index 644c539..62edac0 100644 --- a/keypadOS.lua +++ b/keypadOS.lua @@ -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 diff --git a/src/ui.lua b/src/ui.lua index a16436f..e9488db 100644 --- a/src/ui.lua +++ b/src/ui.lua @@ -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 diff --git a/x.py b/x.py index c527b76..988cb91 100755 --- a/x.py +++ b/x.py @@ -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);