mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
Fix relative paths for DIC (fixes #452)
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"omnisharp.projectLoadTimeout": 480
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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(".", "_");
|
||||
|
||||
Reference in New Issue
Block a user