Tray: Use 32x32 icon on Windows
See [#5072][0]. [0]: https://github.com/signalapp/Signal-Desktop/pull/5072
|
@ -11,8 +11,19 @@ let trayContextMenu = null;
|
|||
let tray = null;
|
||||
|
||||
function createTrayIcon(getMainWindow, messages) {
|
||||
// A smaller icon is needed on macOS
|
||||
const iconSize = process.platform === 'darwin' ? '16' : '256';
|
||||
let iconSize;
|
||||
switch (process.platform) {
|
||||
case 'darwin':
|
||||
iconSize = '16';
|
||||
break;
|
||||
case 'win32':
|
||||
iconSize = '32';
|
||||
break;
|
||||
default:
|
||||
iconSize = '256';
|
||||
break;
|
||||
}
|
||||
|
||||
const iconNoNewMessages = path.join(
|
||||
__dirname,
|
||||
'..',
|
||||
|
|
BIN
images/alert/32/1.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/10.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
images/alert/32/2.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
images/alert/32/4.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/5.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
images/alert/32/6.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/7.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/8.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/alert/32/9.png
Normal file
After Width: | Height: | Size: 2.3 KiB |