Add version info as first log message

This commit is contained in:
Travis Nickles 2017-11-09 01:08:54 -06:00
parent 2db38ea627
commit acc2c227ec

View File

@ -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();