feat: clash meta core supports

This commit is contained in:
GyDi
2022-05-17 01:59:49 +08:00
parent f5c6fa842a
commit be9ea4ea8e
13 changed files with 195 additions and 36 deletions

View File

@@ -86,6 +86,10 @@ export async function getSystemProxy() {
return invoke<any>("get_sys_proxy");
}
export async function changeClashCore(clashCore: string) {
return invoke<any>("change_clash_core", { clashCore });
}
export async function restartSidecar() {
return invoke<void>("restart_sidecar");
}