mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:03:45 +08:00
feat: Update MacOS tray icon
This commit is contained in:
parent
8a608c3c3e
commit
e21596db83
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 |
BIN
src-tauri/icons/mac-tray-icon.png
Normal file
BIN
src-tauri/icons/mac-tray-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
@ -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
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"tauri": {
|
||||
"systemTray": {
|
||||
"iconPath": "icons/icon.png",
|
||||
"iconPath": "icons/mac-tray-icon.png",
|
||||
"iconAsTemplate": true
|
||||
},
|
||||
"bundle": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user