summaryrefslogtreecommitdiff
path: root/src/version.rc
diff options
context:
space:
mode:
authorAnyOldName3 <krizdjali+github@gmail.com>2018-05-15 23:43:35 +0100
committerAnyOldName3 <krizdjali+github@gmail.com>2018-05-15 23:43:35 +0100
commit8f905e1d498f0c264529737f4b8f7a47c0de59ee (patch)
treed2559884f689882ab488f518aedb7932a35ad03d /src/version.rc
parent2ee5f0e96dd6928c271e1b37cd1f77ddc456ef9c (diff)
Change how the VersionInfo object is created from version.rc such that non-release builds are possible and get labelled as such
Diffstat (limited to 'src/version.rc')
-rw-r--r--src/version.rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/version.rc b/src/version.rc
index 700e2488..39565d70 100644
--- a/src/version.rc
+++ b/src/version.rc
@@ -1,7 +1,10 @@
#include "Winver.h"
+// If VS_FF_PRERELEASE is not set, MO labels the build as a release and uses VER_FILEVERSION to determine version number.
+// Otherwise, if letters are used in VER_FILEVERSION_STR, uses the full MOBase::VersionInfo parser
+// Otherwise, uses the numbers from VER_FILEVERSION and sets the release type as pre-alpha
#define VER_FILEVERSION 2,1,4
-#define VER_FILEVERSION_STR "2.1.4-dev\0"
+#define VER_FILEVERSION_STR "2.1.4\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION