Skip to content

Commit

Permalink
Merge pull request #257 from dhobi/tray-icon-theme
Browse files Browse the repository at this point in the history
Replace dark/light icon with template icon
  • Loading branch information
1kc authored Feb 17, 2021
2 parents 8f44083 + 5d3a0df commit a79cdec
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,8 @@ function createTray() {
}
}

tray = new Tray(path.join(__static, '/assets/icon-darkmode.png'));
// *Template.png will be automatically inverted by electron: https://www.electronjs.org/docs/api/native-image#template-image
tray = new Tray(path.join(__static, '/assets/iconTemplate.png'));


refreshTray();
Expand Down
Binary file removed static/assets/icon-darkmode.png
Binary file not shown.
Binary file removed static/assets/icon-lightmode.png
Binary file not shown.
Binary file added static/assets/iconTemplate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/iconTemplate@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/iconTemplate@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a79cdec

Please sign in to comment.