From fa8334d7767df0e40f3afe35b90fe84cdee60085 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Tue, 6 Apr 2021 09:52:55 +0300 Subject: [PATCH] Make a specific flag for Mas (fix #681) --- src/config.rs | 1 + src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 49309429..bbdc3a66 100644 --- a/src/config.rs +++ b/src/config.rs @@ -86,6 +86,7 @@ pub enum Step { Jetpack, Krew, MacPorts, + Mas, Micro, MicrosoftAutoUpdate, MicrosoftStore, diff --git a/src/main.rs b/src/main.rs index 86f686d3..ebdaf6e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -341,7 +341,7 @@ fn run() -> Result<()> { #[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))?; }