chore: update

This commit is contained in:
huzibaca
2024-09-22 15:39:52 +08:00
parent 56983c4d2a
commit a5c871e933
2 changed files with 2 additions and 12 deletions

View File

@@ -239,9 +239,8 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
hotkey::Hotkey::global().update(hotkeys)?;
}
if language.is_some() {
handle::Handle::update_systray()?;
} else if system_proxy.is_some()
if language.is_some()
|| system_proxy.is_some()
|| tun_mode.is_some()
|| common_tray_icon.is_some()
|| sysproxy_tray_icon.is_some()