From acc2c227ecb409fd4d6970da155afaf938f35821 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Thu, 9 Nov 2017 01:08:54 -0600 Subject: [PATCH] Add version info as first log message --- DS4Windows/DS4Forms/DS4Form.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index d07c63c..92b500a 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -335,6 +335,9 @@ namespace DS4Windows hotkeysTimer.Start(); } + FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location); + string version = fvi.FileVersion; + Log.LogToGui("DS4Windows version " + version, false); if (btnStartStop.Enabled && start) btnStartStop_Clicked();