feat: Try to cache remote images

#603
This commit is contained in:
MystiPanda
2024-03-15 16:42:17 +08:00
parent 88dd886687
commit daf726ebbf
6 changed files with 66 additions and 4 deletions

View File

@@ -227,3 +227,7 @@ export async function copyIconFile(
) {
return invoke<void>("copy_icon_file", { path, name });
}
export async function downloadIconCache(url: string, name: string) {
return invoke<string>("download_icon_cache", { url, name });
}