Cordova: use only version from package.json

10.8-maintenance
WalcoFPV 2020-07-08 13:10:35 +02:00
parent c59f49d160
commit e1ea07461e
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function appReady() {
CONFIGURATOR.gitChangesetId = data.gitChangesetId;
// Version in the ChromeApp's manifest takes precedence.
if(chrome.runtime && chrome.runtime.getManifest) {
if(chrome.runtime && chrome.runtime.getManifest && !GUI.isCordova()) {
const manifest = chrome.runtime.getManifest();
CONFIGURATOR.version = manifest.version;
// manifest.json for ChromeApp can't have a version