mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2026-03-21 21:58:52 +00:00
fix launcher was not compiling
This commit is contained in:
parent
8804bec06c
commit
ce7a89eeb2
@ -162,12 +162,12 @@ impl GameManager {
|
|||||||
debug!("Wine version : {:?}", proton_version);
|
debug!("Wine version : {:?}", proton_version);
|
||||||
|
|
||||||
let mut child = if let Some(custom_command) = options {
|
let mut child = if let Some(custom_command) = options {
|
||||||
Self::run(proton, binary_path, Some(custom_command)).await??
|
Self::run(proton, binary_path, Some(custom_command)).await?
|
||||||
} else {
|
} else {
|
||||||
if let Some(custom_command) = GameConfig::get_launch_options().await.unwrap() {
|
if let Some(custom_command) = GameConfig::get_launch_options().await.unwrap() {
|
||||||
Self::run(proton, binary_path, Some(custom_command)).await??
|
Self::run(proton, binary_path, Some(custom_command)).await?
|
||||||
} else {
|
} else {
|
||||||
Self::run(proton, binary_path, None).await??
|
Self::run(proton, binary_path, None).await?
|
||||||
}
|
}
|
||||||
}?;
|
}?;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user