diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 89b5762e4d1971f0c131b030e7719cdb7e3b28c0..16af4ee7ba02584b4443b1a3c5aa56b3c2134915 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -53,7 +53,7 @@ windows-sys = { version = "0.48", features = ["Win32_System_LibraryLoader", "Win
 features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all"]
 
 [target.'cfg(linux)'.dependencies.tauri]
-features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all", "native-tls-vendored", "reqwest-native-tls-vendored"]
+features = ["global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all", "native-tls-vendored", "reqwest-native-tls-vendored"]
 
 
 [features]
diff --git a/src-tauri/src/core/tray.rs b/src-tauri/src/core/tray.rs
index f91db98208eeb6325351ca203178fb7cdd7eb0a2..ab5d61b31ab946857ce881530667967139923737 100644
--- a/src-tauri/src/core/tray.rs
+++ b/src-tauri/src/core/tray.rs
@@ -107,7 +107,7 @@ impl Tray {
         let system_proxy = verge.enable_system_proxy.as_ref().unwrap_or(&false);
         let tun_mode = verge.enable_tun_mode.as_ref().unwrap_or(&false);
 
-        #[cfg(not(target_os = "macos"))]
+        #[cfg(target_os = "windows")]
         {
             let indication_icon = if *system_proxy {
                 include_bytes!("../../icons/tray-icon-activated.png").to_vec()