aboutsummaryrefslogtreecommitdiff
path: root/LauncherInjector
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-04-27 22:56:13 +0200
committerGitHub <noreply@github.com>2022-04-27 22:56:13 +0200
commit6c8112a6c368dd36d21fd94689e9682bc3b012a5 (patch)
tree1bcec2a9e0a1a8fd3a87f3212283f22164d58248 /LauncherInjector
parent3a1985d046d16861d833a4049b03b03413b2d650 (diff)
downloadNorthstarLauncher-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 'LauncherInjector')
-rw-r--r--LauncherInjector/resources.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/LauncherInjector/resources.rc b/LauncherInjector/resources.rc
index 99fcc41e..de16250b 100644
--- a/LauncherInjector/resources.rc
+++ b/LauncherInjector/resources.rc
@@ -1,6 +1,7 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource1.h"
+#include "../NorthstarDedicatedTest/ns_version.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
@@ -61,8 +62,8 @@ IDI_ICON1 ICON "ns_icon.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,0,0,1
- PRODUCTVERSION 0,0,0,1
+ FILEVERSION NORTHSTAR_VERSION
+ PRODUCTVERSION NORTHSTAR_VERSION
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L