forgot to return, smh

This commit is contained in:
HorizonCode 2021-05-27 20:14:19 +02:00
parent e8717981a2
commit 24179dfb1b

View File

@ -38,7 +38,11 @@ namespace EZPPClient_Installer
{
var alreadyRunning = System.Diagnostics.Process.GetProcessesByName(System.IO.Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetEntryAssembly().Location)).Count() > 1;
if (alreadyRunning)
{
this.Close();
return;
}
Instance = this;
InitializeComponent();
Init();