Make the Serverconfig request admin rights only if required
This commit is contained in:
1 parent
070777eb68
commit
0a9c6e5cfe
5 files changed
+206
-71
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user