mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Simplify RequiredProgramsExist logic
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user