feat: system proxy command demo

This commit is contained in:
GyDi
2021-12-17 02:17:04 +08:00
parent 3a9734e97d
commit c1bcfc6785
2 changed files with 25 additions and 1 deletions

View File

@@ -48,3 +48,7 @@ export async function setProfiles(current: number, profile: ProfileItem) {
export async function putProfiles(current: number) {
return invoke<void>("put_profiles", { current });
}
export async function setSysProxy(enable: boolean) {
return invoke<void>("set_sys_proxy", { enable });
}