: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,
|
branch = branch,
|
||||||
url = url
|
url = url
|
||||||
};
|
};
|
||||||
|
if not fs.exists(path) then
|
||||||
self:update(path, url);
|
self:update(path, url);
|
||||||
end
|
end
|
||||||
|
end
|
||||||
function updater:checkAndUpdateAll()
|
function updater:checkAndUpdateAll()
|
||||||
local updated = false;
|
local updated = false;
|
||||||
for path, entry in pairs(self.updated_files) do
|
for path, entry in pairs(self.updated_files) do
|
||||||
|
|
|
@ -32,7 +32,9 @@ function updater:addEntry(path, branch, url)
|
||||||
branch = branch,
|
branch = branch,
|
||||||
url = url
|
url = url
|
||||||
};
|
};
|
||||||
|
if not fs.exists(path) then
|
||||||
self:update(path, url);
|
self:update(path, url);
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function updater:checkAndUpdateAll()
|
function updater:checkAndUpdateAll()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user