Merge pull request #2116 from WalcoFPV/fix_cordova_versions
Cordova: use only version from package.json10.7-maintenance
parent
c87e596dfb
commit
17df7dec7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue