diff -r 663c1ef0de59 -r 6213f42f1983 Server/Program.cs --- a/Server/Program.cs Thu Jul 14 19:25:52 2016 +0200 +++ b/Server/Program.cs Fri Jul 15 18:31:17 2016 +0200 @@ -40,7 +40,7 @@ static void Main() { - /* + /* if (!IsRunAsAdministrator()) { var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase); @@ -65,9 +65,8 @@ return; //Application.Current.Shutdown(); }*/ - - - Application.ApplicationExit += new EventHandler(OnApplicationExit); + + Application.ApplicationExit += new EventHandler(OnApplicationExit); // Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);