Added Protonup update code

This commit is contained in:
Thomas Schönauer
2022-10-14 16:56:03 +02:00
parent 366a742d40
commit b2c9c746a5

View File

@@ -575,7 +575,12 @@ pub fn run_pihole_update(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()
}
pub fn run_protonup_update(ctx: &ExecutionContext) -> Result<()> {
todo!();
let protonup = require("protonup")?;
print_separator("protonup");
ctx.run_type().execute(protonup).check_run()?;
Ok(())
}
pub fn run_config_update(ctx: &ExecutionContext) -> Result<()> {