Fixed Microsoft Store terminology
This commit is contained in:
@@ -115,7 +115,7 @@ pub enum Step {
|
|||||||
Vcpkg,
|
Vcpkg,
|
||||||
Vim,
|
Vim,
|
||||||
VSCode,
|
VSCode,
|
||||||
WindowsAppStore,
|
MicrosoftStore,
|
||||||
Wsl,
|
Wsl,
|
||||||
Yadm,
|
Yadm,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ fn run() -> Result<()> {
|
|||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
{
|
{
|
||||||
runner.execute(Step::WindowsAppStore, "Windows App Store", || {
|
runner.execute(Step::MicrosoftStore, "Windows App Store", || {
|
||||||
windows::upgrade_store_apps(&ctx)
|
windows::upgrade_store_apps(&ctx)
|
||||||
})?;
|
})?;
|
||||||
runner.execute(Step::Chocolatey, "Chocolatey", || windows::run_chocolatey(&ctx))?;
|
runner.execute(Step::Chocolatey, "Chocolatey", || windows::run_chocolatey(&ctx))?;
|
||||||
|
|||||||
@@ -90,8 +90,8 @@ pub fn upgrade_store_apps(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
|
|
||||||
let path = powershell.path().as_ref().unwrap();
|
let path = powershell.path().as_ref().unwrap();
|
||||||
let sudo = require_option(ctx.sudo().as_ref(), String::from("Sudo is required"))?;
|
let sudo = require_option(ctx.sudo().as_ref(), String::from("Sudo is required"))?;
|
||||||
print_separator("Windows Store");
|
print_separator("Microsoft Store");
|
||||||
println!("Updating Windows Store applications in the background");
|
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()
|
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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user