forked from microsoft/winget-pkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use FileVersion
as suggested version number?
#108
Labels
Enhancement
New feature or request
Comments
Good idea...👍 |
It would require a bit of rework to incorporate this, but I love the idea. I'll add it to the roadmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the new feature/enhancement
I just found something out and even if it can't make 2.0, I think it's worth noting for the future if anyone feels like implementing it (maybe I will)..
The
FileVersionProductVersion attribute is often the same as the ARP version number, and it's super easy to get in PowerShell.YamlCreate should be able to do this for the user, so that they can hand it a URL (or URLs) for an update and it can handle the rest. wingetcreate already does something like this too.
Proposed technical implementation details (optional)
Just do
Get-Item
on the file, and look to see if ProductVersion is set. If it is, either suggest that they use that number, or if it's a quick update, then use that number by default.The text was updated successfully, but these errors were encountered: