feat: support open dir

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

No files matched your search

+8
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");
}