Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ContextMenus]Update win11 msix menus if wrong version #37289

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jaimecbernardo
Copy link
Collaborator

Summary of the Pull Request

When installing as user and then updating, the Win11 context menus msix entries aren't properly updated, meaning the context menu entries won't appear.
This PR checks if the package is at the right version or it will still run the msix install logic.
It also allows updating to older versions in the case of downgrades, just in case.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

  • Install 0.87.1 user installation.
  • Verify the context menu entries are working.
  • Run Get-AppxPackage -Name *powertoys* in Powershell, to make sure the context menu entries are installed.
  • Install user installation from Dart with the updated code.
  • Verify the context menu entries are still working.
  • Run Get-AppxPackage -Name *powertoys* in Powershell, to make sure the context menu entries are installed and at the updated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants