:3
This commit is contained in:
parent
b96de1a029
commit
f0e24ab135
4
rtmc.lua
4
rtmc.lua
|
@ -400,6 +400,10 @@ rawset(__BUNDLER_FILES, "updater", function ()
|
|||
log.debug("Commit hash doesnt match, probbably an update");
|
||||
return true;
|
||||
end
|
||||
if data[1].hash == self.curr_commit_hash then
|
||||
log.debug("Commit hash matches");
|
||||
log.debug(data[1].hash .. " (old) => (new) " .. self.curr_commit_hash);
|
||||
end
|
||||
return false;
|
||||
end
|
||||
function updater:update(path, url)
|
||||
|
|
|
@ -82,6 +82,12 @@ function updater:check(branch)
|
|||
log.debug("Commit hash doesnt match, probbably an update");
|
||||
return true;
|
||||
end
|
||||
|
||||
if data[1].hash == self.curr_commit_hash then
|
||||
log.debug("Commit hash matches");
|
||||
log.debug(data[1].hash .. " (old) => (new) " .. self.curr_commit_hash);
|
||||
end
|
||||
|
||||
return false;
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user