fix: linux not change icon

This commit is contained in:
GyDi
2023-05-28 18:14:11 +08:00
parent edd224a185
commit ec3e237093
2 changed files with 2 additions and 2 deletions

View File

@@ -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()