diff --git a/src/config.rs b/src/config.rs index d5de43be..11eea613 100644 --- a/src/config.rs +++ b/src/config.rs @@ -115,7 +115,7 @@ pub enum Step { Vcpkg, Vim, VSCode, - WindowsAppStore, + MicrosoftStore, Wsl, Yadm, } diff --git a/src/main.rs b/src/main.rs index 4ca449b0..12912b32 100644 --- a/src/main.rs +++ b/src/main.rs @@ -145,7 +145,7 @@ fn run() -> Result<()> { #[cfg(windows)] { - runner.execute(Step::WindowsAppStore, "Windows App Store", || { + runner.execute(Step::MicrosoftStore, "Windows App Store", || { windows::upgrade_store_apps(&ctx) })?; runner.execute(Step::Chocolatey, "Chocolatey", || windows::run_chocolatey(&ctx))?; diff --git a/src/steps/os/windows.rs b/src/steps/os/windows.rs index 60c1a20b..6a06ffe0 100644 --- a/src/steps/os/windows.rs +++ b/src/steps/os/windows.rs @@ -90,8 +90,8 @@ pub fn upgrade_store_apps(ctx: &ExecutionContext) -> Result<()> { let path = powershell.path().as_ref().unwrap(); let sudo = require_option(ctx.sudo().as_ref(), String::from("Sudo is required"))?; - print_separator("Windows Store"); - println!("Updating Windows Store applications in the background"); + print_separator("Microsoft Store"); + println!("Updating Microsoft Store applications in the background"); ctx.run_type().execute(sudo).arg(path).args(&["-NoProfile", "-Command", "(Get-WmiObject -Namespace 'root\\cimv2\\mdm\\dmmap' -Class 'MDM_EnterpriseModernAppManagement_AppManagement01').UpdateScanMethod() | Out-Null"]).check_run() }