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

View File

@ -399,6 +399,9 @@ rawset(__BUNDLER_FILES, "updater", function ()
log.debug("Commit hash doesnt match, probbably an update"); log.debug("Commit hash doesnt match, probbably an update");
return true; return true;
end end
if branch == "main" then
log.debug("No need for an update");
end
return false; return false;
end end
function updater:update(path, url) function updater:update(path, url)

View File

@ -82,7 +82,9 @@ function updater:check(branch)
log.debug("Commit hash doesnt match, probbably an update"); log.debug("Commit hash doesnt match, probbably an update");
return true; return true;
end end
if branch == "main" then
log.debug("No need for an update");
end
return false; return false;
end end