mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 14:08:32 +08:00
feat: supports edit profile file
This commit is contained in:
1 parent
7b7e6555c1
commit
7bde7ebc30
12 files changed
+259
-38
No files matched your search
@@ -25,6 +25,14 @@ export async function viewProfile(index: string) {
|
||||
return invoke<void>("view_profile", { index });
|
||||
}
|
||||
|
||||
export async function readProfileFile(index: string) {
|
||||
return invoke<string>("read_profile_file", { index });
|
||||
}
|
||||
|
||||
export async function saveProfileFile(index: string, fileData: string) {
|
||||
return invoke<void>("save_profile_file", { index, fileData });
|
||||
}
|
||||
|
||||
export async function importProfile(url: string) {
|
||||
return invoke<void>("import_profile", {
|
||||
url,
|
||||
|
||||
Reference in new issue
Block a user