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