feat: support edit profile item

This commit is contained in:
GyDi committed 2022-01-17 02:16:17 +08:00
1 parent ceec72b869
commit 0bad1794c4
6 files changed
+61 -5

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ export async function syncProfiles() {
return invoke<void>("sync_profiles");
}
export async function editProfile(index: number) {
return invoke<void>("edit_profile", { index });
}
export async function importProfile(url: string) {
return invoke<void>("import_profile", { url, withProxy: true });
}