aboutsummaryrefslogtreecommitdiff
path: root/LauncherInjector/resources.rc
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 /LauncherInjector/resources.rc
parentf6dc6a51dd9769ea52f67e104816827cdb31466d (diff)
downloadNorthstarLauncher-1.6.4-rc1.tar.gz
NorthstarLauncher-1.6.4-rc1.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 'LauncherInjector/resources.rc')
-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