feat(microsoft_store): Add Microsoft Store step for Windows (#963)

* feat(microsoft_store): Add Microsoft Store step for Windows

Add Microsoft Store Apps update step for Windows as Winget cannot update all Microsoft Store apps yet.

Closes #912

* style(translation): modify `zh_TW` translation
This commit is contained in:
Andreas02-dev
2024-10-23 02:15:46 +02:00
committed by GitHub
parent 8aad6eae0d
commit ea2f3e07e9
5 changed files with 68 additions and 1 deletions

View File

@@ -221,6 +221,14 @@ pub fn windows_update(ctx: &ExecutionContext) -> Result<()> {
}
}
pub fn microsoft_store(ctx: &ExecutionContext) -> Result<()> {
let powershell = powershell::Powershell::windows_powershell();
print_separator(t!("Microsoft Store"));
powershell.microsoft_store(ctx)
}
pub fn reboot() -> Result<()> {
// If this works, it won't return, but if it doesn't work, it may return a useful error
// message.