From 17df7dec7dd50218d8c26f2531f6856fd2d23d28 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 10 Jul 2020 00:58:35 +1200 Subject: [PATCH] Merge pull request #2116 from WalcoFPV/fix_cordova_versions Cordova: use only version from package.json --- src/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/main.js b/src/js/main.js index 059a6ea4..c74f92d8 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -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