This commit is contained in:
Girish Ramakrishnan
2019-12-04 11:18:39 -08:00
parent 85e17b570b
commit c992853cca

View File

@@ -1743,7 +1743,7 @@ function exec(appId, options, callback) {
}
function canAutoupdateApp(app, newManifest) {
if (!app.enableAutomaticUpdate) return false;);
if (!app.enableAutomaticUpdate) return false;
if ((semver.major(app.manifest.version) !== 0) && (semver.major(app.manifest.version) !== semver.major(newManifest.version))) return false; // major changes are blocking
const newTcpPorts = newManifest.tcpPorts || { };