mirror of
https://github.com/SabreTools/MPF.git
synced 2026-05-08 05:23:59 +00:00
Use relative path internally (#589)
This commit is contained in:
@@ -133,7 +133,7 @@ namespace MPF.Core
|
||||
Options = options;
|
||||
|
||||
// Output paths
|
||||
OutputPath = InfoTool.NormalizeOutputPaths(outputPath, true);
|
||||
OutputPath = InfoTool.NormalizeOutputPaths(outputPath, false);
|
||||
|
||||
// UI information
|
||||
Drive = drive;
|
||||
@@ -575,7 +575,7 @@ namespace MPF.Core
|
||||
return Result.Failure("Error! Current configuration is not supported!");
|
||||
|
||||
// Fix the output paths, just in case
|
||||
OutputPath = InfoTool.NormalizeOutputPaths(OutputPath, true);
|
||||
OutputPath = InfoTool.NormalizeOutputPaths(OutputPath, false);
|
||||
|
||||
// Validate that the output path isn't on the dumping drive
|
||||
if (Drive?.Name != null && OutputPath.StartsWith(Drive.Name))
|
||||
|
||||
@@ -1451,7 +1451,7 @@ namespace MPF.Core.UI.ViewModels
|
||||
// Disable change handling
|
||||
DisableEventHandlers();
|
||||
|
||||
this.OutputPath = InfoTool.NormalizeOutputPaths(_environment.Parameters?.OutputPath, true);
|
||||
this.OutputPath = InfoTool.NormalizeOutputPaths(_environment.Parameters?.OutputPath, false);
|
||||
|
||||
if (MediaTypes != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user