diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-04-27 22:56:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 22:56:13 +0200 |
commit | 6c8112a6c368dd36d21fd94689e9682bc3b012a5 (patch) | |
tree | 1bcec2a9e0a1a8fd3a87f3212283f22164d58248 /NorthstarDedicatedTest/ns_version.h | |
parent | 3a1985d046d16861d833a4049b03b03413b2d650 (diff) | |
download | NorthstarLauncher-6c8112a6c368dd36d21fd94689e9682bc3b012a5.tar.gz NorthstarLauncher-6c8112a6c368dd36d21fd94689e9682bc3b012a5.zip |
Hardcode version number (#152)
* Hardcode version number
This way, we don't get the wrong version number when launching
Titanfall2.exe via `-northstar`
The hardcoded value should be overwritten by CI on release
Fixes #129
* Set Northstar version in separate header file
* Make `northstar_version` array a constant
* Fix formatting
Diffstat (limited to 'NorthstarDedicatedTest/ns_version.h')
-rw-r--r-- | NorthstarDedicatedTest/ns_version.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/ns_version.h b/NorthstarDedicatedTest/ns_version.h new file mode 100644 index 00000000..d30594fb --- /dev/null +++ b/NorthstarDedicatedTest/ns_version.h @@ -0,0 +1,7 @@ +#pragma once +#ifndef NORTHSTAR_VERSION +// Turning off clang-format here so it doesn't mess with style as it needs to be this way for regex-ing with CI +// clang-format off +#define NORTHSTAR_VERSION 0,0,0,1 +// clang-format on +#endif |