ApplicationInfo.setVersion

void setVersion(ulong major, ulong minor, ulong micro)

Set the application version.

If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must be converted to major.minor.micro so that it can be used in version comparisons.

Parameters

majorthe major version number
minorthe minor version number
microthe micro version number