mirror of
https://github.com/djibux/BoilR.git
synced 2026-12-01 01:41:59 +01:00
Correct DisplayName to DisplayIcon
This commit is contained in:
1 parent
78ed0c55f2
commit
6187e6cab0
1 file changed
+1
-1
@@ -74,7 +74,7 @@ fn get_games_from_winreg() -> Result<Vec<Game>, Box<dyn Error>> {
|
|||||||
if let Ok(subkey) = subkey {
|
if let Ok(subkey) = subkey {
|
||||||
let name: Result<String, _> = subkey.get_value("DisplayName");
|
let name: Result<String, _> = subkey.get_value("DisplayName");
|
||||||
if let Ok(name) = name {
|
if let Ok(name) = name {
|
||||||
let icon: String = subkey.get_value("DisplayName").unwrap_or_default();
|
let icon: String = subkey.get_value("DisplayIcon").unwrap_or_default();
|
||||||
games.push(Game { name, icon, id })
|
games.push(Game { name, icon, id })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user