Browse Source

Fix Mac menu bar icon

pull/228/head
Chandler Latour 6 years ago
parent
commit
558c1b8974
  1. BIN
      src/assets/icons/macTemplate.png
  2. 6
      src/main/features/core/tray.js

BIN
src/assets/icons/macTemplate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

6
src/main/features/core/tray.js

@ -13,7 +13,11 @@ let audioDeviceMenu = [
},
];
appIcon = new Tray(path.resolve(`${__dirname}/../../../assets/img/main_tray.png`));
if (process.platform === 'darwin') {
appIcon = new Tray(path.resolve(`${__dirname}/../../../assets/img/macTemplate.png`));
} else {
appIcon = new Tray(path.resolve(`${__dirname}/../../../assets/img/main_tray.png`));
}
const setContextMenu = () => {
const contextMenu = Menu.buildFromTemplate([

Loading…
Cancel
Save