This commit is contained in:
shenmo 2022-09-02 14:08:16 +08:00
parent ff988aa446
commit 4c2cdd9499

View File

@ -482,9 +482,9 @@ const shouldQuit = app.makeSingleInstance(() => {
if (mainWindow.isMinimized()) mainWindow.restore();
mainWindow.focus();
}
})
});
shouldQuit && app.quit();
const createMainWindow = () => {
var mainWindowState = windowStateKeeper({
defaultWidth: 745,