W4RH4WK/Debloat-Windows-10

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

オープン

#188 opened on 2019/02/17

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)PowerShell (794 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (6,144 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド