[Package Issue]: JanDeDobbeleer.OhMyPosh requires elevation to upgrade #195802
Labels
Help-Wanted
This is a good candidate work item from the community.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Package-Metadata
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
When updating
JanDeDobbeleer.OhMyPosh
(installed in user scope) usingwinget upgrade JanDeDobbeleer.OhMyPosh
, the installer requires elevation. Uninstall and reinstall will not require elevation.Steps to reproduce
winget uninstall JanDeDobbeleer.OhMyPosh
(if previously installed)winget install JanDeDobbeleer.OhMyPosh --version "24.11.2" --scope "user"
winget upgrade JanDeDobbeleer.OhMyPosh
winget upgrade JanDeDobbeleer.OhMyPosh --uninstall-previous
Actual behavior
There is elevation prompt when upgrading the package
Expected behavior
If the package is installed in user scope, there should not be elevation prompt when upgrading
Environment
Screenshots and Logs
WinGet-2024-12-02-17-43-44.810.log
The text was updated successfully, but these errors were encountered: