Do not check if icon exists

It has not been downloaded yet.
Steam can handle if a icon does not exsists.
This commit is contained in:
Philip Kristoffersen
2022-04-01 18:04:09 +02:00
parent 0aa79d6bc4
commit a8e802aa19
-2
View File
@@ -115,12 +115,10 @@ fn fix_shortcut_icons(
&shortcut.app_name, &shortcut.app_name,
); );
let new_icon_path = image_folder.join(image_type.file_name(app_id)); let new_icon_path = image_folder.join(image_type.file_name(app_id));
if new_icon_path.exists() {
shortcut.icon = new_icon_path.to_string_lossy().to_string(); shortcut.icon = new_icon_path.to_string_lossy().to_string();
} }
} }
} }
}
fn write_shortcut_collections<S: AsRef<str>>( fn write_shortcut_collections<S: AsRef<str>>(
steam_id: S, steam_id: S,