Enable loading seed JSON (#731)

* Enable loading seed JSON

* Safer function call
This commit is contained in:
Deterous
2024-07-26 23:11:39 +09:00
committed by GitHub
parent e9a9011dbd
commit 22f6f39a91

View File

@@ -87,7 +87,7 @@ namespace MPF.Check
var env = new DumpEnvironment(options, filepath, drive, knownSystem, mediaType, internalProgram: null, parameters: null);
// Finally, attempt to do the output dance
var result = env.VerifyAndSaveDumpOutput(resultProgress, protectionProgress).GetAwaiter().GetResult();
var result = env.VerifyAndSaveDumpOutput(resultProgress, protectionProgress, seedInfo: opts.Seed).GetAwaiter().GetResult();
Console.WriteLine(result.Message);
}
}