mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
@@ -186,7 +186,8 @@ impl Tray {
|
|||||||
match tray_event.as_str() {
|
match tray_event.as_str() {
|
||||||
"system_proxy" => feat::toggle_system_proxy(),
|
"system_proxy" => feat::toggle_system_proxy(),
|
||||||
"tun_mode" => feat::toggle_tun_mode(),
|
"tun_mode" => feat::toggle_tun_mode(),
|
||||||
_ => resolve::create_window(app_handle),
|
"main_window" => resolve::create_window(app_handle),
|
||||||
|
_ => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ const SettingVerge = ({ onError }: Props) => {
|
|||||||
<MenuItem value="main_window">{t("Show Main Window")}</MenuItem>
|
<MenuItem value="main_window">{t("Show Main Window")}</MenuItem>
|
||||||
<MenuItem value="system_proxy">{t("System Proxy")}</MenuItem>
|
<MenuItem value="system_proxy">{t("System Proxy")}</MenuItem>
|
||||||
<MenuItem value="tun_mode">{t("Tun Mode")}</MenuItem>
|
<MenuItem value="tun_mode">{t("Tun Mode")}</MenuItem>
|
||||||
|
<MenuItem value="disable">{t("Disable")}</MenuItem>
|
||||||
</Select>
|
</Select>
|
||||||
</GuardState>
|
</GuardState>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user