mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-10-22 20:56:06 +03:00
Merge pull request #354 from blmarket/main
Show some helpful error when --run-game cannot work
This commit is contained in:
commit
ab3e3666c4
1 changed files with 4 additions and 0 deletions
|
@ -241,6 +241,10 @@ fn main() -> anyhow::Result<()> {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LauncherState::PredownloadAvailable { .. } if run_game => {
|
||||||
|
return Err(anyhow::anyhow!("Predownload available. Use --just-run-game to run anyway, or open the UI to download it"));
|
||||||
|
}
|
||||||
|
|
||||||
_ => ()
|
_ => ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue