JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
16.54k stars 2.32k forks source link

New upgrade system doesn't reflect the new version on winget upgrade #5254

Closed ezhupa99 closed 1 month ago

ezhupa99 commented 1 month ago

Code of Conduct

What happened?

I upgraded the oh my posh using oh-my-posh upgrade, now when I try to get the list of packages to upgrade using winget upgrade I notice oh my posh, has an older version than it has. So it means the version is not reflected in other places when I update from oh-my-posh upgrade.

image

Theme

multiverse-neon.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

I can't do that since it contains Env variables and my PC info, but you should be able to repro
JanDeDobbeleer commented 1 month ago

@ezhupa99 we don't update winget's information. Upgrade only updates the binary, nothing else. This is by design. Same goes for any other package manager.

JanDeDobbeleer commented 1 month ago

@ezhupa99 I will have a look at updating the version number in the registry, provided that's where this information is stored. But for that to happen, upgrade also needs to update the themes, which is on my backlog. So far, this is by design.

ezhupa99 commented 1 month ago

That's great news

JanDeDobbeleer commented 1 month ago

@ezhupa99 It's fixed in latest