mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
Use the correct base path for Check
This commit is contained in:
@@ -481,13 +481,13 @@ namespace MPF.Frontend
|
||||
|
||||
resultProgress.Report(ResultEventArgs.Success("Gathering submission information... please wait!"));
|
||||
|
||||
// Determine the media type from the processor, if not provided
|
||||
mediaType ??= _processor.DetermineMediaType(OutputPath);
|
||||
|
||||
// Get the output directory and filename separately
|
||||
var outputDirectory = Path.GetDirectoryName(OutputPath);
|
||||
var outputFilename = Path.GetFileName(OutputPath);
|
||||
|
||||
// Determine the media type from the processor, if not provided
|
||||
mediaType ??= _processor.DetermineMediaType(outputDirectory, outputFilename);
|
||||
|
||||
// Check to make sure that the output had all the correct files
|
||||
List<string> missingFiles = _processor.FoundAllFiles(mediaType, outputDirectory, outputFilename);
|
||||
if (missingFiles.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user