From f69543c5db1d8fc3319256652ad9620056ac38b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Mon, 28 Aug 2017 21:06:05 +0200 Subject: [PATCH] Improved folder handling again --- Installer/setup.aip | 65 ++++++++++++++++++++++++--------------------- Vocaluxe/Program.cs | 8 +++--- 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/Installer/setup.aip b/Installer/setup.aip index 67b3c919..18e20830 100644 --- a/Installer/setup.aip +++ b/Installer/setup.aip @@ -301,6 +301,7 @@ + @@ -658,6 +659,7 @@ + @@ -1700,7 +1702,7 @@ - + @@ -2029,8 +2031,8 @@ - - + + @@ -2239,20 +2241,20 @@ - - - - + + + + - - - - + + + + @@ -2451,8 +2453,8 @@ - - + + @@ -2611,16 +2613,16 @@ - - - - + + + + - - - - + + + + @@ -2777,8 +2779,8 @@ - - + + @@ -3022,20 +3024,20 @@ - - + + - - + + - - - - + + + + @@ -3874,6 +3876,7 @@ + diff --git a/Vocaluxe/Program.cs b/Vocaluxe/Program.cs index 8eef2241..d18660db 100644 --- a/Vocaluxe/Program.cs +++ b/Vocaluxe/Program.cs @@ -92,9 +92,8 @@ namespace Vocaluxe try { - // Create folders - // Do this before init logs so data folder could be created properly - CSettings.CreateFolders(); + // Create data folder + Directory.CreateDirectory(CSettings.DataFolder); // Init Log CLog.Init(); @@ -123,6 +122,9 @@ namespace Vocaluxe CConfig.UseCommandLineParamsAfter(); CLog.StopBenchmark("Init Config"); + // Create folders + CSettings.CreateFolders(); + _SplashScreen = new CSplashScreen(); Application.DoEvents();