feat: Try to cache remote images

#603
This commit is contained in:
MystiPanda committed 2024-03-15 16:43:39 +08:00
1 parent 88dd886687
commit daf726ebbf
6 files changed
+66 -4

No files matched your search

+4
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 });
}