make crapple happy
This commit is contained in:
parent
c0ba813041
commit
d817950681
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ export function createMainWindow() {
|
|||
icon: ICON_PATH
|
||||
});
|
||||
|
||||
// le epic crapple moment
|
||||
if (process.platform === "darwin")
|
||||
app.dock.setIcon(ICON_PATH);
|
||||
|
||||
win.on("close", e => {
|
||||
if (isQuitting) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue