Windows用パッケージにアイコンを設定する

This commit is contained in:
Yuya Ochiai
2015-11-02 01:46:51 +09:00
parent 4f715522e8
commit c2ae7cffb8
3 changed files with 1 additions and 1 deletions

BIN
electron-mattermost.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

View File

@@ -52,7 +52,7 @@ app.on('before-quit', function() {
app.on('ready', function() {
// set up tray icon to show balloon
if (process.platform === 'win32') {
trayIcon = new Tray(null);
trayIcon = new Tray(__dirname + '/tray.png');
trayIcon.setToolTip(app.getName());
ipc.on('notified', function(event, arg) {
trayIcon.displayBalloon({

BIN
src/tray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB