This commit is contained in:
Gvidas Juknevičius 2024-08-25 22:16:08 +03:00
parent 216aaeed0e
commit f4d109583b
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
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 if self:check(entry.branch) then
self:update(path, entry.url); self:update(path, entry.url);
log.info("Updated!"); log.info("Updated!");
sleep(3);
os.reboot(); os.reboot();
end end
end end

View File

@ -42,6 +42,7 @@ function updater:checkAndUpdateAll()
if self:check(entry.branch) then if self:check(entry.branch) then
self:update(path, entry.url); self:update(path, entry.url);
log.info("Updated!"); log.info("Updated!");
sleep(3);
os.reboot(); os.reboot();
end end
end end