Skip to content
Snippets Groups Projects
Commit 23cef6cb authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Remove always-true check.

parent f5419fe4
No related branches found
No related tags found
No related merge requests found
...@@ -192,12 +192,10 @@ namespace AutoTx ...@@ -192,12 +192,10 @@ namespace AutoTx
private void StartupSummary() { private void StartupSummary() {
var msg = "Startup Summary:\n\n------ RoboSharp ------\n"; var msg = "Startup Summary:\n\n------ RoboSharp ------\n";
var roboDll = System.Reflection.Assembly.GetAssembly(typeof(RoboCommand)).Location; var roboDll = System.Reflection.Assembly.GetAssembly(typeof(RoboCommand)).Location;
if (roboDll != null) { var versionInfo = FileVersionInfo.GetVersionInfo(roboDll);
var versionInfo = FileVersionInfo.GetVersionInfo(roboDll); msg += " > DLL file: " + roboDll + "\n" +
msg += " > DLL file: " + roboDll + "\n" + " > DLL description: " + versionInfo.Comments + "\n" +
" > DLL description: " + versionInfo.Comments + "\n" + " > DLL version: " + versionInfo.FileVersion + "\n";
" > DLL version: " + versionInfo.FileVersion + "\n";
}
msg += "\n------ Loaded status flags ------\n" + _status.Summary() + msg += "\n------ Loaded status flags ------\n" + _status.Summary() +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment