i think i fixed it :O
This commit is contained in:
parent
0c15f13efb
commit
739e731bc4
|
@ -17,6 +17,9 @@ local function checkForUpdate()
|
||||||
if update_code_text then
|
if update_code_text then
|
||||||
if string.find(update_code_text, "^local __BUNDLER_FILES = {}") then
|
if string.find(update_code_text, "^local __BUNDLER_FILES = {}") then
|
||||||
-- Make backup
|
-- Make backup
|
||||||
|
if fs.exists("backup.lua") then
|
||||||
|
fs.delete("backup.lua")
|
||||||
|
end
|
||||||
fs.copy("startup.lua", "backup.lua")
|
fs.copy("startup.lua", "backup.lua")
|
||||||
|
|
||||||
if not string.find(update_code_text, KEYPADOS_UPDATE_HASH) then
|
if not string.find(update_code_text, KEYPADOS_UPDATE_HASH) then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user