Merge pull request #2116 from WalcoFPV/fix_cordova_versions
Cordova: use only version from package.json10.8-maintenance
commit
7c6a5e92fe
|
@ -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