Make a specific flag for Mas (fix #681)

This commit is contained in:
Roey Darwish Dror
2021-04-06 09:52:55 +03:00
parent 8d55076cd3
commit fa8334d776
2 changed files with 2 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ pub enum Step {
Jetpack, Jetpack,
Krew, Krew,
MacPorts, MacPorts,
Mas,
Micro, Micro,
MicrosoftAutoUpdate, MicrosoftAutoUpdate,
MicrosoftStore, MicrosoftStore,

View File

@@ -341,7 +341,7 @@ fn run() -> Result<()> {
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
{ {
runner.execute(Step::System, "App Store", || macos::run_mas(run_type))?; runner.execute(Step::Mas, "App Store", || macos::run_mas(run_type))?;
runner.execute(Step::System, "System upgrade", || macos::upgrade_macos(&ctx))?; runner.execute(Step::System, "System upgrade", || macos::upgrade_macos(&ctx))?;
} }