This commit is contained in:
Gvidas Juknevičius 2024-08-25 23:19:12 +03:00
parent efc78c87b7
commit 51b6b7fc95
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
2 changed files with 6 additions and 2 deletions

View File

@ -355,7 +355,9 @@ rawset(__BUNDLER_FILES, "updater", function ()
branch = branch,
url = url
};
self:update(path, url);
if not fs.exists(path) then
self:update(path, url);
end
end
function updater:checkAndUpdateAll()
local updated = false;

View File

@ -32,7 +32,9 @@ function updater:addEntry(path, branch, url)
branch = branch,
url = url
};
self:update(path, url);
if not fs.exists(path) then
self:update(path, url);
end
end
function updater:checkAndUpdateAll()