-
Notifications
You must be signed in to change notification settings - Fork 12
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
Set Microsoft Windows Version Information on Windows executable #484
Comments
Hi, does |
Yes, that is what I use atm. I just like it better, if the exe itself has the version information in its metadata. |
That is what I do, just in case: info = win32api.GetFileVersionInfo(os.path.expandvars(cmd), '\\')
version = "%d.%d.%d.%d" % (info['FileVersionMS'] / MS_LSB_MULTIPLIER,
info['FileVersionMS'] % MS_LSB_MULTIPLIER,
info['FileVersionLS'] / MS_LSB_MULTIPLIER,
info['FileVersionLS'] % MS_LSB_MULTIPLIER) |
Ah, looks like there's a module to help with that in Go: https://github.com/josephspurrier/goversioninfo My graphics card in my Windows PC broke and I'm waiting for the RMA process to complete, I can look at it after that. |
Yeah, you can have a look at my sneaker fork, I added it in there also. You just need to create a simple versioninfo.json |
Hi mate, great work! I am working on integrating your solution into DCSServerBot atm, and I would prefer to have a version number at least in the skyeye.exe. That lets me handle autoupdates for people.
Should be a small step for you, but a big for mankind ;).
Cheers
Special K
The text was updated successfully, but these errors were encountered: