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