Merge pull request #2116 from WalcoFPV/fix_cordova_versions

Cordova: use only version from package.json
10.7-maintenance
Michael Keller 2020-07-10 00:58:35 +12:00 committed by mikeller
parent c87e596dfb
commit 17df7dec7d
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