mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
📦 Chore: update macOS tray icon
This commit is contained in:
parent
4ebdc721e4
commit
87161b3ee0
BIN
public/menubar-newdarwin-v2.png
Normal file
BIN
public/menubar-newdarwin-v2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 481 B |
BIN
public/menubar-newdarwin-v2@2.png
Normal file
BIN
public/menubar-newdarwin-v2@2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 807 B |
BIN
public/menubar-newdarwin-v2@3.png
Normal file
BIN
public/menubar-newdarwin-v2@3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -151,7 +151,7 @@ export function createContextMenu () {
|
|||||||
const getTrayIcon = () => {
|
const getTrayIcon = () => {
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
const isMacOSGreaterThan11 = isMacOSVersionGreaterThanOrEqualTo('11')
|
const isMacOSGreaterThan11 = isMacOSVersionGreaterThanOrEqualTo('11')
|
||||||
return isMacOSGreaterThan11 ? `${__static}/menubar-newdarwin.png` : `${__static}/menubar.png`
|
return isMacOSGreaterThan11 ? `${__static}/menubar-newdarwin-v2.png` : `${__static}/menubar.png`
|
||||||
} else {
|
} else {
|
||||||
return `${__static}/menubar-nodarwin.png`
|
return `${__static}/menubar-nodarwin.png`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user