need mcorange git actions
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user