From f4d109583b0bd070cdc44836af00d4a7276a5de8 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 25 Aug 2024 22:16:08 +0300 Subject: [PATCH] :3 --- rtmc.lua | 1 + src/updater.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/rtmc.lua b/rtmc.lua index 3a276c5..146919e 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -357,6 +357,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function () if self:check(entry.branch) then self:update(path, entry.url); log.info("Updated!"); + sleep(3); os.reboot(); end end diff --git a/src/updater.lua b/src/updater.lua index 4d744f1..198c723 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -42,6 +42,7 @@ function updater:checkAndUpdateAll() if self:check(entry.branch) then self:update(path, entry.url); log.info("Updated!"); + sleep(3); os.reboot(); end end