Skip to content

Commit

Permalink
macOS: fix the CoA extraction not being stopped by missing I:R binary (
Browse files Browse the repository at this point in the history
…#2188) #patch
  • Loading branch information
IhateTrains authored Sep 15, 2024
1 parent 5d1d316 commit de04241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ImperatorToCK3/Imperator/World.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ private void LaunchImperatorToExportCountryFlags(Configuration config) {
string imperatorBinaryName = OperatingSystem.IsWindows() ? "imperator.exe" : "imperator";
var imperatorBinaryPath = Path.Combine(config.ImperatorPath, "binaries", imperatorBinaryName);
if (!File.Exists(imperatorBinaryPath)) {
Logger.Error("Imperator binary not found! Aborting!");
Logger.Warn("Imperator binary not found! Aborting the random CoA extraction!");
return;
}

string dataTypesLogPath = Path.Combine(config.ImperatorDocPath, "logs/data_types.log");
Expand Down

0 comments on commit de04241

Please sign in to comment.