Skip to content

Commit

Permalink
🔗 Fix platform-specific app icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
tterb committed Nov 2, 2017
1 parent fbb8782 commit c85ed78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ function getWindowConfig() {
}
if (process.platform === 'darwin') {
conf.titleBarStyle = 'hidden';
conf.icon = path.join(__dirname,'assets','img','icon','png','icon.icns');
conf.icon = path.join(__dirname,'assets','img','icon','icns','icon.icns');
} else if (process.platform === 'win32') {
conf.icon = path.join(__dirname,'assets','img','icon','png','icon.ico');
conf.icon = path.join(__dirname,'assets','img','icon','ico','icon.ico');
} else {
conf.icon = path.join(__dirname,'assets','img','icon','png','64x64.png');
}
Expand Down

0 comments on commit c85ed78

Please sign in to comment.