fixed serial opening ports

This commit is contained in:
Eugene Pankov
2022-02-11 11:02:29 +01:00
parent 1fc531ecf4
commit c64654991b
8 changed files with 48 additions and 50 deletions

View File

@@ -135,6 +135,8 @@ export class Window {
this.window.webContents.setVisualZoomLevelLimits(1, 1)
this.window.webContents.setZoomFactor(1)
this.window.webContents.session.setPermissionCheckHandler(() => true)
this.window.webContents.session.setDevicePermissionHandler(() => true)
if (process.platform === 'darwin') {
this.touchBarControl = new TouchBar.TouchBarSegmentedControl({