Update NWjs to 0.67.1 and Node to 16.17.0

10.9-maintenance
Mark Haslinghuis 2022-05-21 00:21:15 +02:00
parent 7bc1db46b6
commit c8d0490b2f
3 changed files with 3 additions and 3 deletions

2
.nvmrc
View File

@ -1 +1 @@
16.15.0
16.17.0

View File

@ -50,7 +50,7 @@ const NODE_ENV = process.env.NODE_ENV || 'production';
const NAME_REGEX = /-/g;
const nwBuilderOptions = {
version: '0.62.0',
version: '0.67.1',
files: `${DIST_DIR}**/*`,
macIcns: './src/images/bf_icon.icns',
macPlist: { 'CFBundleDisplayName': 'Betaflight Configurator'},

View File

@ -74,7 +74,7 @@ const GuiControl = function () {
};
function GUI_checkOperatingSystem() {
return navigator.userAgentData.platform;
return navigator?.userAgentData?.platform || 'Android';
}
// Timer managing methods