Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
use prettyname_regex to show shortname in update menu #39
I'm not 100% happy about this but it does work. It does it in a workaround way though
Instead of tracking the object all the way through it first uses the regex on the filenames to get the short filenames, then when one of the short filenames is chosen it takes that short name and scans the list of long filenames to find a match, which may not be 100%. We have set filenames though and it shouldn't be a problem I don't think.
This was the only way I could think of doing it because
@MilhouseVH please include this in your testbuilds, it will work for you already because you include
Thanks very much for this, it seems to be working!
Is there anything that can be done when showing the current version on the confirmation dialog?
when the following would be better:
@MilhouseVH so the problem is that there is no way to store a regex on the system for the current version (at least not in a nice way). So there is no way to parse accurately what build the people are on currently, only what they will be updating to.
What I could do is use the current regex on the current version and if it returns something then use that otherwise just return the entire version string.
How does that sound?