Skip to content

Commit

Permalink
🐛 Fix: macOS tray icon background color bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Oct 21, 2022
1 parent 7677f1e commit 9791ff2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion src/main/apis/app/system/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function createContextMenu () {
const getTrayIcon = () => {
if (process.platform === 'darwin') {
const isMacOSGreaterThan11 = isMacOSVersionGreaterThanOrEqualTo('11')
return isMacOSGreaterThan11 ? `${__static}/menubar-newdarwin-v2.png` : `${__static}/menubar.png`
return isMacOSGreaterThan11 ? `${__static}/menubar-newdarwinTemplate.png` : `${__static}/menubar.png`
} else {
return `${__static}/menubar-nodarwin.png`
}
Expand Down

0 comments on commit 9791ff2

Please sign in to comment.