Skip to content

Commit

Permalink
fix macOS icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyear committed Apr 22, 2021
1 parent d286464 commit 6e05b8d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const bwOption = {
nodeIntegration: true,
contextIsolation: false
},
resizable: false
resizable: false,
icon: "icon.icns"
};

const mb = menubar({
Expand Down
Binary file added icon.icns
Binary file not shown.
Binary file added icon.ico
Binary file not shown.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
},
"config": {
"forge": {
"packagerConfig": {},
"packagerConfig": {
"icon": "icon.icns"
},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
Expand All @@ -57,4 +59,4 @@
]
}
}
}
}

0 comments on commit 6e05b8d

Please sign in to comment.