Merge branch 'master' of https://github.com/651778286/gnss-tool-kit
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { app, screen, BrowserWindow } from 'electron'
|
import { app, screen, globalShortcut, BrowserWindow } from 'electron'
|
||||||
import {join} from "path";
|
import {join} from "path";
|
||||||
import './load-serialport'
|
import './load-serialport'
|
||||||
|
|
||||||
@@ -35,8 +35,10 @@ function launch() {
|
|||||||
createWindow('satellite-info-monitor-platform', displays[1])
|
createWindow('satellite-info-monitor-platform', displays[1])
|
||||||
createWindow('satellite-signal-monitor-platform', displays[2])
|
createWindow('satellite-signal-monitor-platform', displays[2])
|
||||||
createWindow('satellite-state-monitor-platform', displays[3])
|
createWindow('satellite-state-monitor-platform', displays[3])
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 屏蔽 F11 进入/退出全屏功能
|
||||||
|
globalShortcut.register('F11', () => {return})
|
||||||
}
|
}
|
||||||
|
|
||||||
app.whenReady().then(launch)
|
app.whenReady().then(launch)
|
||||||
@@ -51,4 +53,4 @@ app.on('activate', () => {
|
|||||||
if (BrowserWindow.getAllWindows().length === 0) {
|
if (BrowserWindow.getAllWindows().length === 0) {
|
||||||
launch()
|
launch()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user