Skip to content

Commit 5c9618a

Browse files
committed
Make it not break on Windows
1 parent 86050ec commit 5c9618a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/electron/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ app.on("ready", () => {
3838
"file://" + join(__dirname, `../build/index.html#${appPath}`)
3939
);
4040
});
41+
42+
app.on("window-all-closed", () => {
43+
app.quit();
44+
});

0 commit comments

Comments
 (0)