Skip to content

Commit 9f6eefe

Browse files
committed
Update NWjs to 0.67.1 and Node to 16.17.0
1 parent 7bc1db4 commit 9f6eefe

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.15.0
1+
16.17.0

cordova/package_template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"author": "[INJECTED_BY_GULPFILE]",
99
"license": "[INJECTED_BY_GULPFILE]",
1010
"dependencies": {
11-
"cordova": "^9.0.0",
12-
"cordova-android": "^8.1.0",
11+
"cordova": "^11.0.0",
12+
"cordova-android": "^11.0.0",
1313
"cordova-clipboard": "^1.3.0",
1414
"bf-cordova-open-native-settings": "^2.0.4",
1515
"bf-cordova-plugin-appavailability": "^1.0.3",

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const NODE_ENV = process.env.NODE_ENV || 'production';
5050
const NAME_REGEX = /-/g;
5151

5252
const nwBuilderOptions = {
53-
version: '0.62.0',
53+
version: '0.67.1',
5454
files: `${DIST_DIR}**/*`,
5555
macIcns: './src/images/bf_icon.icns',
5656
macPlist: { 'CFBundleDisplayName': 'Betaflight Configurator'},

src/js/gui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const GuiControl = function () {
7474
};
7575

7676
function GUI_checkOperatingSystem() {
77+
// return navigator?.userAgentData?.platform || 'Android';
7778
return navigator.userAgentData.platform;
7879
}
7980

0 commit comments

Comments
 (0)