Update NWjs to 0.67.1 and Node to 16.17.0
parent
7bc1db46b6
commit
c8d0490b2f
|
@ -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'},
|
||||
|
|
|
@ -74,7 +74,7 @@ const GuiControl = function () {
|
|||
};
|
||||
|
||||
function GUI_checkOperatingSystem() {
|
||||
return navigator.userAgentData.platform;
|
||||
return navigator?.userAgentData?.platform || 'Android';
|
||||
}
|
||||
|
||||
// Timer managing methods
|
||||
|
|
Loading…
Reference in New Issue