Fixed Microsoft Store terminology

This commit is contained in:
Roey Darwish Dror
2021-02-18 14:20:30 +02:00
parent f06230482e
commit 4fe3c257b6
3 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ pub enum Step {
Vcpkg,
Vim,
VSCode,
WindowsAppStore,
MicrosoftStore,
Wsl,
Yadm,
}

View File

@@ -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))?;

View File

@@ -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()
}