Changed data-paths to avoid problems on Linux

This commit is contained in:
Florian Küpper committed 2015-12-06 13:44:29 +01:00
1 parent 104d2be7be
commit b8bf1b66fc
1 file changed
+10 -5
+10 -5
View File
@@ -188,10 +188,12 @@ namespace Vocaluxe.Base
//Folders //Folders
public static readonly List<string> SongFolders = new List<string> public static readonly List<string> SongFolders = new List<string>
{ {
#if WIN
CSettings.FolderNameSongs CSettings.FolderNameSongs
#elif INSTALLER
#if INSTALLER CSettings.FolderNameSongs,
, Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#elif LINUX
Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs) Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#endif #endif
}; };
@@ -201,9 +203,12 @@ namespace Vocaluxe.Base
/// </summary> /// </summary>
public static readonly List<string> ProfileFolders = new List<string> public static readonly List<string> ProfileFolders = new List<string>
{ {
#if WIN
CSettings.FolderNameProfiles CSettings.FolderNameProfiles
#if INSTALLER #elif INSTALLER
, CSettings.FolderNameProfiles,
Path.Combine(CSettings.DataFolder, CSettings.FolderNameProfiles)
#elif LINUX
Path.Combine(CSettings.DataFolder, CSettings.FolderNameProfiles) Path.Combine(CSettings.DataFolder, CSettings.FolderNameProfiles)
#endif #endif
}; };