Fix relative paths for DIC (fixes #452)

This commit is contained in:
Matt Nadareski
2023-02-23 13:01:17 -05:00
parent 975eb97e27
commit a929bb0022
3 changed files with 8 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"omnisharp.projectLoadTimeout": 480
}

View File

@@ -41,6 +41,8 @@
- ReadAllText not ReadAllLines
- Add drive format (fs) to log
- Go back to pre .NET 7 Aaru
- Be smarter about old paths
- Fix relative paths for DIC
### 2.4 (2022-10-26)
- Update to DIC 20211001

View File

@@ -122,6 +122,9 @@ namespace MPF.Library
try
{
// Normalize the output path
string outputPath = InfoTool.NormalizeOutputPaths(this.OutputPath);
// Replace all instances in the output directory
string outputDirectory = Path.GetDirectoryName(this.OutputPath);
outputDirectory = outputDirectory.Replace(".", "_");