refactor: url scheme implementation

This commit is contained in:
huzibaca
2024-09-13 03:21:55 +08:00
parent a39ece6156
commit b888c7729e
9 changed files with 194 additions and 64 deletions

View File

@@ -63,6 +63,7 @@ export async function saveProfileFile(index: string, fileData: string) {
export async function importProfile(url: string) {
return invoke<void>("import_profile", {
url,
name: null,
option: { with_proxy: true },
});
}