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