This commit is contained in:
Gvidas Juknevičius 2024-08-25 22:41:49 +03:00
parent f41e343970
commit f83565a402
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ rawset(__BUNDLER_FILES, "updater", function ()
if self.curr_commit_hash == "" then
log.debug("No commit hash found, setting");
self.curr_commit_hash = data[1].hash;
elseif data[1].hash == self.curr_commit_hash then
elseif data[1].hash ~= self.curr_commit_hash then
log.debug("Commit hash doesnt match, probbably an update");
return true;
end

View File

@ -72,7 +72,7 @@ function updater:check(branch)
if self.curr_commit_hash == "" then
log.debug("No commit hash found, setting");
self.curr_commit_hash = data[1].hash;
elseif data[1].hash == self.curr_commit_hash then
elseif data[1].hash ~= self.curr_commit_hash then
log.debug("Commit hash doesnt match, probbably an update");
return true;
end