mirror of https://github.com/keeweb/keeweb
checking minVersion against app version
parent
6fcf77829d
commit
a43a2e8ce2
|
@ -159,7 +159,7 @@ const Updater = {
|
|||
canAutoUpdate() {
|
||||
const minLauncherVersion = UpdateModel.lastCheckUpdMin;
|
||||
if (minLauncherVersion) {
|
||||
const cmp = SemVer.compareVersions(Launcher.version, minLauncherVersion);
|
||||
const cmp = SemVer.compareVersions(RuntimeInfo.version, minLauncherVersion);
|
||||
if (cmp < 0) {
|
||||
UpdateModel.set({ updateStatus: 'ready', updateManual: true });
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue