From d6f168e9eb9f95ed573a2eb88b02057dd45e7191 Mon Sep 17 00:00:00 2001 From: xomf Date: Sat, 17 Aug 2024 23:36:23 -0400 Subject: [PATCH] need mcorange git actions --- keypadOS.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keypadOS.lua b/keypadOS.lua index 1202c5f..372c83f 100644 --- a/keypadOS.lua +++ b/keypadOS.lua @@ -7,7 +7,7 @@ local require = function(path) return __DEFAULT_IMPORT(path) end end -local KEYPADOS_UPDATE_HASH = "xBDnzGEOVIVZyRGGMsKFCptR" +local KEYPADOS_UPDATE_HASH = "dGWGjxrYViZwxsSgLMdmnMeu" rawset(__BUNDLER_FILES, "updater.lua", function () local utils = require("utils.lua") local LAST_USED = os.time() @@ -25,6 +25,9 @@ rawset(__BUNDLER_FILES, "updater.lua", function () if update_code_text then if string.find(update_code_text, "^local __BUNDLER_FILES = {}") then -- Make backup + if fs.exists("backup.lua") then + fs.delete("backup.lua") + end fs.copy("startup.lua", "backup.lua") if not string.find(update_code_text, KEYPADOS_UPDATE_HASH) then local file = fs.open("startup.lua", "w")