Add requirement checks at program start.
This commit is contained in:
1 parent
536ca2868c
commit
ee11aca2af
3 files changed
+105
-3
No files matched your search
+4
-2
@@ -30,7 +30,6 @@ using Vocaluxe.Base.Server;
|
||||
|
||||
namespace Vocaluxe
|
||||
{
|
||||
// just a small comment for the new develop branch
|
||||
static class CMainProgram
|
||||
{
|
||||
private static CSplashScreen _SplashScreen;
|
||||
@@ -77,6 +76,9 @@ namespace Vocaluxe
|
||||
// Init Log
|
||||
CLog.Init();
|
||||
|
||||
if (!CProgrammHelper.CheckRequirements())
|
||||
return;
|
||||
|
||||
CMain.Init();
|
||||
CSettings.CreateFolders();
|
||||
Application.DoEvents();
|
||||
@@ -253,7 +255,7 @@ namespace Vocaluxe
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs args)
|
||||
{
|
||||
Exception e = (Exception)args.ExceptionObject;
|
||||
var e = (Exception)args.ExceptionObject;
|
||||
string stackTrace = "";
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user