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