mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 15:27:48 +00:00
download bonus content by default, add --skip-bonus
This commit is contained in:
@@ -581,6 +581,7 @@ async fn main() {
|
||||
println!(" --path/-p <path>: Specify the game directory");
|
||||
println!(" --update/-u: Update only, don't launch the game");
|
||||
println!(" --bonus: Download bonus content");
|
||||
println!(" --skip-bonus: Don't download bonus content");
|
||||
println!(" --force/-f: Force file hash recheck");
|
||||
println!(" --pass <args>: Pass arguments to the game");
|
||||
println!(" --skip-launcher-update: Skip launcher self-update");
|
||||
@@ -647,6 +648,10 @@ async fn main() {
|
||||
cfg.download_bonus_content = true;
|
||||
cfg.ask_bonus_content = false;
|
||||
arg_remove(&mut args, "--bonus");
|
||||
} else if arg_bool(&args, "--skip-bonus") {
|
||||
cfg.download_bonus_content = false;
|
||||
cfg.ask_bonus_content = false;
|
||||
arg_remove(&mut args, "--skip-bonus")
|
||||
}
|
||||
|
||||
if arg_bool(&args, "--force") || arg_bool(&args, "-f") {
|
||||
|
||||
@@ -53,8 +53,8 @@ impl Default for Config {
|
||||
Self {
|
||||
update_only: false,
|
||||
skip_self_update: false,
|
||||
download_bonus_content: false,
|
||||
ask_bonus_content: true,
|
||||
download_bonus_content: true,
|
||||
ask_bonus_content: false,
|
||||
force_update: false,
|
||||
args: String::default(),
|
||||
engine: String::default(),
|
||||
|
||||
Reference in New Issue
Block a user