:3
This commit is contained in:
parent
b1e225d2c4
commit
216aaeed0e
1
rtmc.lua
1
rtmc.lua
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user