mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 17:58:32 +08:00
feat: support new profile
This commit is contained in:
1 parent
c596c875a6
commit
66b89ee817
5 files changed
+109
-1
No files matched your search
@@ -9,6 +9,10 @@ export async function syncProfiles() {
|
||||
return invoke<void>("sync_profiles");
|
||||
}
|
||||
|
||||
export async function newProfile(name: string, desc: string) {
|
||||
return invoke<void>("new_profile", { name, desc });
|
||||
}
|
||||
|
||||
export async function viewProfile(index: number) {
|
||||
return invoke<void>("view_profile", { index });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user