feat: support ico format for tray icon (#911)

This commit is contained in:
MystiPanda
2024-04-22 20:43:15 +08:00
committed by GitHub
parent 2074da05c8
commit e014fdf3da
7 changed files with 79 additions and 25 deletions

View File

@@ -223,7 +223,7 @@ export async function exitApp() {
export async function copyIconFile(
path: string,
name: "common.png" | "sysproxy.png" | "tun.png"
name: "common" | "sysproxy" | "tun"
) {
return invoke<void>("copy_icon_file", { path, name });
}