diff --git a/SynthEBD/Patcher/Patcher.cs b/SynthEBD/Patcher/Patcher.cs index 2d6eeb4f..caa8be12 100644 --- a/SynthEBD/Patcher/Patcher.cs +++ b/SynthEBD/Patcher/Patcher.cs @@ -102,6 +102,11 @@ public Patcher(IOutputEnvironmentStateProvider environmentProvider, PatcherState public async Task RunPatcher() { // General pre-patching tasks: + if (!_patcherState.GeneralSettings.bUIopened) + { + _logger.LogMessage("====SynthEBD UI has never been opened. SynthEBD will not do anything until the UI is configured===="); + } + if (_paths.OutputDataFolder.IsNullOrEmpty()) { if (_patcherState.GeneralSettings.OutputDataFolder.IsNullOrEmpty()) diff --git a/SynthEBD/Settings/Settings_General/Settings_General.cs b/SynthEBD/Settings/Settings_General/Settings_General.cs index 1fc785a8..0f69821e 100644 --- a/SynthEBD/Settings/Settings_General/Settings_General.cs +++ b/SynthEBD/Settings/Settings_General/Settings_General.cs @@ -247,6 +247,7 @@ public class Settings_General public bool bShowTroubleshootingSettings { get; set; } = false; public bool bTroubleShootingWarningDisplayed { get; set; } = false; public bool bHeadPartWarningDisplayed { get; set; } = false; + public bool bUIopened { get; set; } = false; } public enum BodyShapeSelectionMode diff --git a/SynthEBD/Settings/Settings_General/VM_Settings_General.cs b/SynthEBD/Settings/Settings_General/VM_Settings_General.cs index ac9548ee..81aa65b2 100644 --- a/SynthEBD/Settings/Settings_General/VM_Settings_General.cs +++ b/SynthEBD/Settings/Settings_General/VM_Settings_General.cs @@ -397,6 +397,8 @@ public Settings_General DumpViewModelToModel() model.bShowTroubleshootingSettings = bShowTroubleshootingSettings; model.bTroubleShootingWarningDisplayed = _bTroubleshootingWarningDisplayed; model.bHeadPartWarningDisplayed = _bHeadPartWarningDisplayed; + + model.bUIopened = true; return model; }