Fix issue preventing launcher from re-opening

This commit is contained in:
Drew DeVault 2015-05-16 12:06:14 -06:00
parent 7c6a26b496
commit b8ab5f218a

View File

@ -50,6 +50,7 @@ namespace TrueCraft.Launcher
process.StartInfo = new ProcessStartInfo("mono", "TrueCraft.Client.Linux.exe " + ServerIPText.Text);
else
process.StartInfo = new ProcessStartInfo("TrueCraft.Client.Linux.exe", ServerIPText.Text);
process.EnableRaisingEvents = true;
process.Exited += (s, a) => Application.Invoke(ClientExited);
process.Start();
this.ShowInTaskbar = false;