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
public static readonly List<string> SongFolders = new List<string>
{
#if WIN
CSettings.FolderNameSongs
#if INSTALLER
,
#elif INSTALLER
CSettings.FolderNameSongs,
Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#elif LINUX
Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#endif
};
@@ -201,9 +203,12 @@ namespace Vocaluxe.Base
/// </summary>
public static readonly List<string> ProfileFolders = new List<string>
{
#if WIN
CSettings.FolderNameProfiles
#if INSTALLER
,
#elif INSTALLER
CSettings.FolderNameProfiles,
Path.Combine(CSettings.DataFolder, CSettings.FolderNameProfiles)
#elif LINUX
Path.Combine(CSettings.DataFolder, CSettings.FolderNameProfiles)
#endif
};