Simplify RequiredProgramsExist logic

This commit is contained in:
Matt Nadareski
2024-05-22 16:34:01 -04:00
parent 5edb70745a
commit 4e5c9a242e
2 changed files with 2 additions and 4 deletions

View File

@@ -63,6 +63,7 @@
- Make media type private to DumpEnvironment
- Make system private to DumpEnvironment
- Make drive private to DumpEnvironment
- Simplify RequiredProgramsExist logic
### 3.1.9a (2024-05-21)

View File

@@ -666,10 +666,7 @@ namespace MPF.Core
return false;
// Validate that the required program exists
if (!File.Exists(_options.DiscImageCreatorPath))
return false;
return true;
return File.Exists(_options.DiscImageCreatorPath);
}
/// <summary>