W4RH4WK/Debloat-Windows-10

"remove-default-apps.ps1" does not account for dependenices

Open

#188 创建于 2019年2月17日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)PowerShell (6,158 star) (804 fork)batch import
help wanted

描述

When running "remove-default-apps.ps1" on a fresh Windows 10 Pro, it fails upon doing a:

Get-AppxPackage Microsoft.Advertising.Xaml | Remove-AppxPackage

This is because several packages depend on this, such as Microsoft.People, microsoft.windowscommunicationsapps, as so forth. So it should be moved to the bottom of the list, or the logic should be expanded to check for dependencies first and uninstall those before uninstall.

贡献者指南

"remove-default-apps.ps1" does not account for dependenices · W4RH4WK/Debloat-Windows-10#188 | Good First Issue