This commit is contained in:
Gvidas Juknevičius 2024-08-25 22:14:51 +03:00
parent b1e225d2c4
commit 216aaeed0e
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
2 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
for path, entry in pairs(self.updated_files) do
if self:check(entry.branch) then
self:update(path, entry.url);
log.info("Updated!");
os.reboot();
end
end

View File

@ -41,6 +41,7 @@ function updater:checkAndUpdateAll()
for path, entry in pairs(self.updated_files) do
if self:check(entry.branch) then
self:update(path, entry.url);
log.info("Updated!");
os.reboot();
end
end