mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
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:
@@ -115,11 +115,9 @@ 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>>(
|
||||||
|
|||||||
Reference in New Issue
Block a user