add use_https

close #70
This commit is contained in:
2024-02-07 12:05:57 +01:00
parent 32d1b129c8
commit fcdc875272
4 changed files with 56 additions and 19 deletions

View File

@@ -36,6 +36,7 @@ pub fn save_value(config_path: PathBuf, key: &str, value: bool) {
"download_bonus_content" => config.download_bonus_content = value,
"ask_bonus_content" => config.ask_bonus_content = value,
"force_update" => config.force_update = value,
"use_https" => config.use_https = value,
_ => (),
}
save(config_path, config);
@@ -49,4 +50,4 @@ pub fn save_value_s(config_path: PathBuf, key: &str, value: String) {
_ => (),
}
save(config_path, config);
}
}