refactor(hotkey): use tauri global shortcut

This commit is contained in:
GyDi
2022-09-23 15:31:01 +08:00
committed by GitHub
Unverified
parent a6b2db182d
commit 8bddf30dcf
6 changed files with 58 additions and 102 deletions

View File

@@ -25,9 +25,9 @@ const ItemWrapper = styled("div")`
const HOTKEY_FUNC = [
"clash_mode_rule",
"clash_mode_direct",
"clash_mode_global",
"clash_moda_script",
"clash_mode_direct",
"clash_mode_script",
"toggle_system_proxy",
"enable_system_proxy",
"disable_system_proxy",