Fix two small issue (#246)

Signed-off-by: Aisuko <urakiny@gmail.com>

Signed-off-by: Aisuko <urakiny@gmail.com>
This commit is contained in:
Aisuko
2022-10-07 21:28:25 +02:00
committed by GitHub
parent 10093bf3eb
commit fac58803cc
2 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ fn fix_shortcut_icons(
for ext in ["ico", "png", "jpg", "webp"] {
let path = image_folder.join(image_type.file_name(app_id, ext));
if !icon_exsists && path.exists() {
shortcut.icon = format!("\"{}\"", path.to_string_lossy().to_string());
shortcut.icon = format!("\"{}\"", path.to_string_lossy());
break;
}
}