From 673ee5b41c0dceef028fc6a4fa9222b0fb6bbb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Tue, 22 Jan 2013 14:07:59 +0100 Subject: [PATCH] Added ProfileFolder as command-line-parameter. --- Vocaluxe/Base/CConfig.cs | 5 +++++ Vocaluxe/Base/CSettings.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index ed27480a..c53b827c 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -814,6 +814,11 @@ namespace Vocaluxe.Base CSettings.CreateFolder(value); CSettings.sFolderPlaylists = value; break; + + case "profilefolder": + CSettings.CreateFolder(value); + CSettings.sFolderProfiles = value; + break; } } } diff --git a/Vocaluxe/Base/CSettings.cs b/Vocaluxe/Base/CSettings.cs index 9ea16270..34df7b53 100644 --- a/Vocaluxe/Base/CSettings.cs +++ b/Vocaluxe/Base/CSettings.cs @@ -83,7 +83,7 @@ namespace Vocaluxe.Base public const string sFolderSkins = "Skins"; public const string sFolderThemeFonts = "Fonts"; public const string sFolderScreens = "Screens"; - public const string sFolderProfiles = "Profiles"; + public static string sFolderProfiles = "Profiles"; public const string sFolderSongs = "Songs"; public const string sFolderSounds = "Sounds"; public const string sFolderLanguages = "Languages";