single
This commit is contained in:
parent
62c2d3d99d
commit
ff988aa446
6
main.js
6
main.js
@ -479,12 +479,12 @@ function createMenu() {
|
||||
}
|
||||
const shouldQuit = app.makeSingleInstance(() => {
|
||||
if (mainWindow) {
|
||||
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||
mainWindow.focus()
|
||||
if (mainWindow.isMinimized()) mainWindow.restore();
|
||||
mainWindow.focus();
|
||||
}
|
||||
})
|
||||
|
||||
shouldQuit && app.quit()
|
||||
shouldQuit && app.quit();
|
||||
const createMainWindow = () => {
|
||||
var mainWindowState = windowStateKeeper({
|
||||
defaultWidth: 745,
|
||||
|
Loading…
Reference in New Issue
Block a user