feat: Update MacOS tray icon

This commit is contained in:
MystiPanda 2023-12-14 13:11:46 +08:00
parent 4964382966
commit 943c6f77dc
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -140,7 +140,7 @@ impl Tray {
#[cfg(not(target_os = "macos"))]
let icon = include_bytes!("../../icons/tray-icon.png").to_vec();
#[cfg(target_os = "macos")]
let icon = include_bytes!("../../icons/icon.png").to_vec();
let icon = include_bytes!("../../icons/mac-tray-icon.png").to_vec();
icon
};

View File

@ -1,7 +1,7 @@
{
"tauri": {
"systemTray": {
"iconPath": "icons/icon.png",
"iconPath": "icons/mac-tray-icon.png",
"iconAsTemplate": true
},
"bundle": {