From 739e731bc45757d501af045a7bb66b1c02666b48 Mon Sep 17 00:00:00 2001 From: xomf Date: Sat, 17 Aug 2024 23:35:55 -0400 Subject: [PATCH] i think i fixed it :O --- src/updater.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/updater.lua b/src/updater.lua index ad06af0..49990af 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -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