Make the Serverconfig request admin rights only if required

This commit is contained in:
Flamefire committed 2014-03-11 00:42:22 +01:00
1 parent 070777eb68
commit 0a9c6e5cfe
5 files changed
+206 -71

No files matched your search

+2
View File
@@ -259,6 +259,7 @@ namespace Vocaluxe
Environment.Exit(Environment.ExitCode);
}
#if !DEBUG
[HandleProcessCorruptedStateExceptions]
private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs args)
{
@@ -273,6 +274,7 @@ namespace Vocaluxe
CLog.LogError("Unhandled exception: " + e.Message + stackTrace);
_CloseProgram();
}
#endif
private static Assembly _AssemblyResolver(Object sender, ResolveEventArgs args)
{