chore: update

This commit is contained in:
huzibaca 2024-09-20 17:49:31 +08:00
parent dffd663d7a
commit 06e1d0f8da

View File

@ -161,6 +161,8 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
let mixed_port = patch.verge_mixed_port; let mixed_port = patch.verge_mixed_port;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
let tray_icon = patch.tray_icon; let tray_icon = patch.tray_icon;
#[cfg(not(target_os = "macos"))]
let tray_icon = None;
let common_tray_icon = patch.common_tray_icon; let common_tray_icon = patch.common_tray_icon;
let sysproxy_tray_icon = patch.sysproxy_tray_icon; let sysproxy_tray_icon = patch.sysproxy_tray_icon;
let tun_tray_icon = patch.tun_tray_icon; let tun_tray_icon = patch.tun_tray_icon;