diff --git a/rtmc.lua b/rtmc.lua index 340da74..0cbafef 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -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; diff --git a/src/updater.lua b/src/updater.lua index 24bcde4..75379b0 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -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()