From 4b67978df6c71aa82d113c4b824f7f526692fd26 Mon Sep 17 00:00:00 2001 From: Gary Kertopermono Date: Tue, 9 Apr 2019 23:23:02 +0200 Subject: [PATCH 1/3] Relative song paths will now be converted to absolute song paths --- Vocaluxe/Base/CConfig.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 5d4fb05a..191c41b3 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -687,8 +687,9 @@ namespace Vocaluxe.Base foreach (string folder in Config.Game.SongFolder) { //Check if folder exists - if (Directory.Exists(folder)) - SongFolders.Add(folder); + if (Directory.Exists(folder)) { + SongFolders.Add(Path.GetFullPath(folder)); + } } } From b6afc460cf4a599a3efcb99b207da6af2e338b8b Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 4 Feb 2020 07:43:22 +0100 Subject: [PATCH 2/3] Cosmetics :) --- Vocaluxe/Base/CConfig.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 191c41b3..8e156158 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -687,7 +687,8 @@ namespace Vocaluxe.Base foreach (string folder in Config.Game.SongFolder) { //Check if folder exists - if (Directory.Exists(folder)) { + if (Directory.Exists(folder)) + { SongFolders.Add(Path.GetFullPath(folder)); } } @@ -854,4 +855,4 @@ namespace Vocaluxe.Base } } } -} \ No newline at end of file +} From b511fafa8bd68ee07c2732bf2f6990bf168af702 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 4 Feb 2020 07:45:19 +0100 Subject: [PATCH 3/3] Cosmetics again :) --- Vocaluxe/Base/CConfig.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 8e156158..33ce96e2 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -688,9 +688,7 @@ namespace Vocaluxe.Base { //Check if folder exists if (Directory.Exists(folder)) - { SongFolders.Add(Path.GetFullPath(folder)); - } } }