[release/v7.6.2] Add `appLicensing` capability to Appx manifest by daxian-dbw · Pull Request #27437 · PowerShell/PowerShell
Backport of #27412 to release/v7.6.2
Triggered by @daxian-dbw on behalf of @SteveL-MSFT
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
- Required tooling change
- Optional tooling change (include reasoning)
Customer Impact
- Customer reported
- Found internally
Fixes a potential "Error acquiring license from Store" error for users running PowerShell from the Windows Store. Also improves startup performance by avoiding an unnecessary Store license acquisition attempt.
Regression
REQUIRED: Check exactly one box.
- Yes
- No
This is not a regression.
Testing
Verified via the original PR. The change adds a restricted capability declaration to the Appx manifest. Only testable interactively through a Store-distributed build.
Risk
REQUIRED: Check exactly one box.
- High
- Medium
- Low
Single manifest declaration change. The appLicensing capability is a restricted capability that PowerShell 7 is authorized to use, and it only affects Store license behavior.