mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
UI image selection (#97)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user