Merge pull request #2930 from haslinghuis/update_nwjs
Update NWjs to 0.67.1 and Node to 16.17.0 LTS10.9-maintenance
commit
55d4506da1
|
@ -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