winstall icon indicating copy to clipboard operation
winstall copied to clipboard

Correctly parse version string if set to "latest"

Open Teraskull opened this issue 3 years ago • 1 comments

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).

Teraskull avatar Jun 01 '21 18:06 Teraskull

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.

ItzLevvie avatar Jun 12 '21 11:06 ItzLevvie