feat: support open dir

This commit is contained in:
GyDi
2022-02-16 03:21:34 +08:00
parent 7cf8ec6d61
commit c5cba7775a
4 changed files with 74 additions and 12 deletions

View File

@@ -63,3 +63,11 @@ export async function patchVergeConfig(payload: CmdType.VergeConfig) {
export async function getSystemProxy() {
return invoke<any>("get_sys_proxy");
}
export async function openAppDir() {
return invoke<void>("open_app_dir");
}
export async function openLogsDir() {
return invoke<void>("open_logs_dir");
}