aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/ns_version.h
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-04-27 22:56:13 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-04-27 23:02:33 +0200
commit04ac23d2040c807a4e90038ca3a30d461006bf99 (patch)
tree521f122657b55f08969227b8960f5b1989502f3e /NorthstarDedicatedTest/ns_version.h
parentf6dc6a51dd9769ea52f67e104816827cdb31466d (diff)
downloadNorthstarLauncher-04ac23d2040c807a4e90038ca3a30d461006bf99.tar.gz
NorthstarLauncher-04ac23d2040c807a4e90038ca3a30d461006bf99.zip
* 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.h7
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