omaha-consulting / winstall

A web app for browsing and installing Windows Package Manager apps.
https://winstall.app
GNU General Public License v3.0
1.08k stars 57 forks source link

Correctly parse version string if set to "latest" #70

Open Teraskull opened 3 years ago

Teraskull commented 3 years ago

Recently Winget allowed to submit download URLs that don't have a specific version label, and just add latest as a package version in the yaml manifest:

PackageVersion: latest

Winstall parses the latest string as a regular version, and the result looks like this:

image

As an option, it can be displayed as Latest (without the v).

ItzLevvie commented 3 years ago

Or the much better option would be to remove it entirely (unless you want to deal with registry expressions) because there are applications in the Windows Package Manager that already has v as part of the application version shown in the Control Panel; this means that winstall will show vv20210611 or v.v20210611 rather than v20210611.