mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-22 08:02:41 +08:00
feat: support edit profile item
This commit is contained in:
1 parent
ceec72b869
commit
0bad1794c4
6 files changed
+61
-5
No files matched your search
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user