1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-19 14:25:13 +03:00

Convert to CommonJS Modules - Part 2

This commit is contained in:
Scavanger 2024-03-24 11:40:50 -03:00
parent 91f1699659
commit 38727c54a8
21 changed files with 729 additions and 694 deletions

View file

@ -11,7 +11,6 @@ const usbBootloaderIds = [
{ vendorId: 11836, productId: 57105}
];
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-squirrel-startup')) {
app.quit();
@ -22,7 +21,7 @@ let bluetoothDeviceChooser = null;
let btDeviceList = null;
let selectBluetoothCallback = null;
// In Eletrcon the bluetooth device chooser didn't exist, so we have to buid our own
// In Eletrcon the bluetooth device chooser didn't exist, so we have to build our own
function createDeviceChooser() {
bluetoothDeviceChooser = new BrowserWindow({
parent: mainWindow,