i think i fixed it :O

This commit is contained in:
xomf 2024-08-17 23:35:55 -04:00
parent 0c15f13efb
commit 739e731bc4

View File

@ -17,6 +17,9 @@ local function checkForUpdate()
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