feat: Update MacOS tray icon

This commit is contained in:
MystiPanda 2023-12-14 13:11:46 +08:00
parent 8a608c3c3e
commit e21596db83
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"))] #[cfg(not(target_os = "macos"))]
let icon = include_bytes!("../../icons/tray-icon.png").to_vec(); let icon = include_bytes!("../../icons/tray-icon.png").to_vec();
#[cfg(target_os = "macos")] #[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 icon
}; };

View File

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