mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Cordova: use only version from package.json
This commit is contained in:
parent
c59f49d160
commit
e1ea07461e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue