diff --git a/keypadOS.lua b/keypadOS.lua index 6589def..811c921 100644 --- a/keypadOS.lua +++ b/keypadOS.lua @@ -36,6 +36,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function () os.reboot() else print("Nothing changed, not updating.") + LAST_USED = os.time() return end end diff --git a/src/updater.lua b/src/updater.lua index 329bc52..de1f53f 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -30,6 +30,7 @@ local function checkForUpdate() os.reboot() else print("Nothing changed, not updating.") + LAST_USED = os.time() return end