add --prerelease

This commit is contained in:
2024-12-15 11:18:25 +01:00
parent da94d1b0e3
commit 1237d8c71e
7 changed files with 113 additions and 44 deletions

View File

@@ -44,6 +44,7 @@ pub fn save_value(config_path: PathBuf, key: &str, value: bool) {
"force_update" => config.force_update = value,
"use_https" => config.use_https = value,
"skip_redist" => config.skip_redist = value,
"prerelease" => config.prerelease = value,
_ => (),
}
save(config_path, config);