This commit is contained in:
2024-08-25 22:16:08 +03:00
parent 216aaeed0e
commit f4d109583b
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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