mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
darwin icon 16 size tray
This commit is contained in:
parent
d2e089b9ab
commit
5384d65d78
2 changed files with 3 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
BIN
images/session/session_icon_16.png
Normal file
BIN
images/session/session_icon_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in a new issue