Convert C++ code to read version string from file
This is definitely not a pretty thing. Double quotes are required around the string which means they'll need to be removed in the NSIS and Python scripts.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
3.1.0-dev-new
|
"3.1.0-dev-new"
|
||||||
@@ -48,7 +48,10 @@ constexpr auto applicationOrganizationName = "AdvancedSettings-Team";
|
|||||||
constexpr auto applicationName = "OpenVRAdvancedSettings";
|
constexpr auto applicationName = "OpenVRAdvancedSettings";
|
||||||
constexpr const char* applicationKey = "OVRAS-Team.AdvancedSettings";
|
constexpr const char* applicationKey = "OVRAS-Team.AdvancedSettings";
|
||||||
constexpr const char* applicationDisplayName = "Advanced Settings";
|
constexpr const char* applicationDisplayName = "Advanced Settings";
|
||||||
constexpr const char* applicationVersionString = "v3.1.0-dev";
|
constexpr const char* applicationVersionString = {
|
||||||
|
#include "../build_scripts/compile_version_string.txt"
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace application_strings
|
} // namespace application_strings
|
||||||
|
|
||||||
// application namespace
|
// application namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user