mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-03-15 14:38:29 +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(());
|
||||
}
|
||||
|
||||
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…
Add table
Reference in a new issue