Changed data-paths to avoid problems on Linux
This commit is contained in:
1 parent
104d2be7be
commit
b8bf1b66fc
1 file changed
+10
-5
@@ -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
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user