mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-22 07:45:16 +03:00
Update main.js
always enable web bluetooth.
This commit is contained in:
parent
28191a692c
commit
1026444811
1 changed files with 3 additions and 3 deletions
|
@ -166,10 +166,10 @@ function createWindow() {
|
|||
|
||||
if (process.platform === "linux"){
|
||||
app.commandLine.appendSwitch("enable-experimental-web-platform-features", true);
|
||||
} else {
|
||||
app.commandLine.appendSwitch("enable-web-bluetooth", true);
|
||||
}
|
||||
|
||||
app.commandLine.appendSwitch("enable-web-bluetooth", true);
|
||||
|
||||
require("@electron/remote/main").enable(mainWindow.webContents);
|
||||
mainWindow.removeMenu();
|
||||
mainWindow.setMinimumSize(800, 600);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue