mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:43:44 +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"))]
|
#[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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"systemTray": {
|
"systemTray": {
|
||||||
"iconPath": "icons/icon.png",
|
"iconPath": "icons/mac-tray-icon.png",
|
||||||
"iconAsTemplate": true
|
"iconAsTemplate": true
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user