:3
This commit is contained in:
parent
c31606c5bc
commit
009d9d6071
1
rtmc.lua
1
rtmc.lua
|
@ -350,6 +350,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
|
||||||
branch = branch,
|
branch = branch,
|
||||||
url = url
|
url = url
|
||||||
};
|
};
|
||||||
|
self:update(path, url);
|
||||||
end
|
end
|
||||||
function updater:checkAndUpdateAll()
|
function updater:checkAndUpdateAll()
|
||||||
for path, entry in pairs(self.updated_files) do
|
for path, entry in pairs(self.updated_files) do
|
||||||
|
|
|
@ -13,7 +13,6 @@ end
|
||||||
local function _start()
|
local function _start()
|
||||||
local upd = updater.new();
|
local upd = updater.new();
|
||||||
upd:addEntry(MODULE_PATH, "keypad", MODULE_URL);
|
upd:addEntry(MODULE_PATH, "keypad", MODULE_URL);
|
||||||
|
|
||||||
parallel.waitForAny(function() updaterLoop(upd) end, require(MODULE_PATH))
|
parallel.waitForAny(function() updaterLoop(upd) end, require(MODULE_PATH))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ function updater:addEntry(path, branch, url)
|
||||||
branch = branch,
|
branch = branch,
|
||||||
url = url
|
url = url
|
||||||
};
|
};
|
||||||
|
self:update(path, url);
|
||||||
end
|
end
|
||||||
|
|
||||||
function updater:checkAndUpdateAll()
|
function updater:checkAndUpdateAll()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user