From de042418f0638195676b0b42d47841953b2eca23 Mon Sep 17 00:00:00 2001 From: IhateTrains Date: Sun, 15 Sep 2024 01:06:53 +0100 Subject: [PATCH] macOS: fix the CoA extraction not being stopped by missing I:R binary (#2188) #patch --- ImperatorToCK3/Imperator/World.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ImperatorToCK3/Imperator/World.cs b/ImperatorToCK3/Imperator/World.cs index 4277aacb0..0ddbd64cb 100644 --- a/ImperatorToCK3/Imperator/World.cs +++ b/ImperatorToCK3/Imperator/World.cs @@ -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");