mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
@@ -42,7 +42,7 @@ impl From<GogShortcut> for ShortcutOwned {
|
||||
let icon_file = format!("goggame-{}.ico", gogs.game_id);
|
||||
let icon_path = Path::new(&gogs.game_folder).join(icon_file);
|
||||
let icon = if icon_path.exists() {
|
||||
icon_path.to_str().unwrap().to_string()
|
||||
icon_path.to_string_lossy().to_string()
|
||||
} else {
|
||||
"".to_string()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user