Change update check to be more accomodating
This commit is contained in:
parent
d2a1a29d6d
commit
a172baa6c8
|
@ -176,7 +176,7 @@ class AddonUpdater {
|
||||||
if (this.pending.includes(filename)) return;
|
if (this.pending.includes(filename)) return;
|
||||||
const info = this.cache[path.basename(filename)];
|
const info = this.cache[path.basename(filename)];
|
||||||
if (!info) return;
|
if (!info) return;
|
||||||
const hasUpdate = info.version > currentVersion;
|
const hasUpdate = info.version != currentVersion;
|
||||||
if (!hasUpdate) return;
|
if (!hasUpdate) return;
|
||||||
this.pending.push(filename);
|
this.pending.push(filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue