Add admin check to uninstall of machine font by dkbennett · Pull Request #5779 · microsoft/winget-cli

Fixes #5774

Adds an admin check to the font uninstall flow.

Non-elevated uninstall of machine font
image

Elevated uninstall of machine font
image

Tested:

  • Uninstall of machine installed font succeeds from elevated command prompt.
  • Uninstall of machine font from non-elevated command prompt fails.

No release note update required for this, fixes a bug in unreleased code.


Microsoft Reviewers: Open in CodeFlow