UI image selection (#97)

This commit is contained in:
Philip Kristoffersen
2022-04-23 20:33:16 +02:00
committed by GitHub
parent 91782b74eb
commit e77f2b5f31
49 changed files with 1368 additions and 801 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ impl Platform<LegendaryGame, Box<dyn Error>> for LegendaryPlatform {
.settings
.executable
.clone()
.unwrap_or("legendary".to_string());
.unwrap_or_else(|| "legendary".to_string());
let legendary = legendary_string.as_str();
execute_legendary_command(legendary)
}
@@ -49,7 +49,7 @@ impl Platform<LegendaryGame, Box<dyn Error>> for LegendaryPlatform {
}
fn needs_proton(&self, _input: &LegendaryGame) -> bool {
return false;
false
}
}