feat: handle remote clash config fields

This commit is contained in:
GyDi committed 2022-04-07 01:20:44 +08:00
1 parent 75f3fa5144
commit 797f0d92b3
7 files changed
+146 -7

No files matched your search

+4
View File
@@ -66,6 +66,10 @@ export async function changeProfileChain(chain?: string[]) {
return invoke<void>("change_profile_chain", { chain });
}
export async function changeProfileValid(valid?: string[]) {
return invoke<void>("change_profile_valid", { valid });
}
export async function getClashInfo() {
return invoke<CmdType.ClashInfo | null>("get_clash_info");
}