This commit is contained in:
2024-08-18 15:09:33 +03:00
parent 5eb4a9edb7
commit 4c2197919a
3 changed files with 5 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ local function checkForUpdate()
if update_code_request then
local update_code_text = update_code_request.readAll()
if update_code_text then
if string.find(update_code_text, "^local __UPDATE_HASH") then
if string.find(update_code_text, "^local __BUNDLER_FILES = {}") then
-- Make backup
if fs.exists("backup.lua") then
fs.delete("backup.lua")