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
+14 -9
+14 -9
View File
@@ -188,11 +188,13 @@ namespace Vocaluxe.Base
//Folders //Folders
public static readonly List<string> SongFolders = new List<string> public static readonly List<string> SongFolders = new List<string>
{ {
CSettings.FolderNameSongs #if WIN
CSettings.FolderNameSongs
#if INSTALLER #elif INSTALLER
, CSettings.FolderNameSongs,
Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs) Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#elif LINUX
Path.Combine(CSettings.DataFolder, CSettings.FolderNameSongs)
#endif #endif
}; };
/// <summary> /// <summary>
@@ -201,12 +203,15 @@ namespace Vocaluxe.Base
/// </summary> /// </summary>
public static readonly List<string> ProfileFolders = new List<string> public static readonly List<string> ProfileFolders = new List<string>
{ {
CSettings.FolderNameProfiles #if WIN
#if INSTALLER CSettings.FolderNameProfiles
, #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
}; };
//Lists to save parameters and values //Lists to save parameters and values
private static readonly List<string> _Params = new List<string>(); private static readonly List<string> _Params = new List<string>();