chore: update

This commit is contained in:
huzibaca 2024-09-20 17:49:31 +08:00
parent c246ae3bcf
commit 29d54fe589
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

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