mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
Proper version reporting #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cfsmp3 on GitHub (May 1, 2016).
Originally assigned to: @canihavesomecoffee on GitHub.
Add parameter --version to display the version number and then exit.
The version number should be something like this:
0.80 (github XXXXXX) - compiled DATE, hash YYYYYY
The 0.80 is just the value of VERSION (a #define), nothing special here.
the github version should display whatever we can generate at build time (I don't know what git can provide here so uniquely identify a specific release).
The compilation date
And finally a MD5 hash of the running binary
This will make our life a lot easier when dealing with reports from advanced users.
This seems easy to do for linux (lots of examples around) and not so sure about Windows (build with Visual Studio).