Files
topgrade/src/steps/os/macos.rs
Roey Darwish Dror 1095f46a8a Remove execute legacy
2019-03-10 21:48:49 +02:00

14 lines
314 B
Rust

use crate::error::Error;
use crate::executor::RunType;
use crate::terminal::print_separator;
#[must_use]
pub fn upgrade_macos(run_type: RunType) -> Result<(), Error> {
print_separator("App Store");
run_type
.execute("softwareupdate")
.args(&["--install", "--all"])
.check_run()
}