Skip to content

Commit 91abf22

Browse files
committed
Create window on macOS activate app event
1 parent a8416d4 commit 91abf22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ app.on('window-all-closed', () => {
2020
app.quit()
2121
}
2222
})
23+
24+
app.on('activate', () => {
25+
initializeApp()
26+
})

0 commit comments

Comments
 (0)