make crapple happy

This commit is contained in:
Vendicated 2023-04-04 02:53:09 +02:00
parent c0ba813041
commit d817950681
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -81,6 +81,10 @@ export function createMainWindow() {
icon: ICON_PATH icon: ICON_PATH
}); });
// le epic crapple moment
if (process.platform === "darwin")
app.dock.setIcon(ICON_PATH);
win.on("close", e => { win.on("close", e => {
if (isQuitting) return; if (isQuitting) return;