Skip to content

Commit

Permalink
feat(electron): fix tray icon color on linux again
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaljsr committed Jun 18, 2024
1 parent 56e8c17 commit 2e77a60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions electron/trayManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export default class TrayManager {
switch (process.platform) {
case 'darwin':
return '16x16Template.png';
case 'linux':
// The linux tray background doesn't change with the theme. It's always dark
// on Ubuntu and always light on Mint. We use the dark icon for both. This may
// be fixable in the future, but there's no good solution right now.
return `1024x1024-dark.png`;
default:
return `1024x1024-${this.theme}.png`;
}
Expand Down

0 comments on commit 2e77a60

Please sign in to comment.