:3
This commit is contained in:
parent
efc78c87b7
commit
51b6b7fc95
2
rtmc.lua
2
rtmc.lua
|
@ -355,8 +355,10 @@ rawset(__BUNDLER_FILES, "updater", function ()
|
|||
branch = branch,
|
||||
url = url
|
||||
};
|
||||
if not fs.exists(path) then
|
||||
self:update(path, url);
|
||||
end
|
||||
end
|
||||
function updater:checkAndUpdateAll()
|
||||
local updated = false;
|
||||
for path, entry in pairs(self.updated_files) do
|
||||
|
|
|
@ -32,8 +32,10 @@ function updater:addEntry(path, branch, url)
|
|||
branch = branch,
|
||||
url = url
|
||||
};
|
||||
if not fs.exists(path) then
|
||||
self:update(path, url);
|
||||
end
|
||||
end
|
||||
|
||||
function updater:checkAndUpdateAll()
|
||||
local updated = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user