Credits to echnobas, Atlas team and all the contributors for the CAB approach
Reasons for this change:
- Removing system packages with !systemPackage causes Windows Updates to fail
- In cases one of the removed components causes unexpected behavior, it is possible to revert the change without reinstalling the whole system
There are also additional changes:
- Unregistered appx manifests from StateRepostiory instead of removing, such as advertisment banners in Settings, the GetStarted placeholder in the Start Menu and Windows Backup. Removing them causes Windows Update to fail.
- Moved PowerShell optimization action at the start
- GitHub Actions automatically builds a CAB file