This commit is contained in:
shenmo 2022-09-02 14:18:11 +08:00
parent 4c2cdd9499
commit 90d68492eb

View File

@ -480,6 +480,7 @@ function createMenu() {
const shouldQuit = app.makeSingleInstance(() => {
if (mainWindow) {
if (mainWindow.isMinimized()) mainWindow.restore();
mainWindow.show();
mainWindow.focus();
}
});