darwin icon 16 size tray

This commit is contained in:
audric 2021-08-11 17:04:17 +10:00
parent d2e089b9ab
commit 5384d65d78
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,9 @@ let trayContextMenu = null;
let tray = null;
function createTrayIcon(getMainWindow, messages) {
const iconNoNewMessages = path.join(__dirname, '..', 'images', 'session', `session_icon.png`);
// keep the duplicated part to allow for search and find
const iconFile = process.platform === 'darwin' ? 'session_icon_16.png' : 'session_icon.png';
const iconNoNewMessages = path.join(__dirname, '..', 'images', 'session', iconFile);
tray = new Tray(iconNoNewMessages);
tray.forceOnTop = mainWindow => {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB