/// <summary> /// Processes command line options. /// </summary> static private void ProcessCommandLineOptions() { try { if (SystemManager.CommandLineOptions is null) { return; } if (SystemManager.CommandLineOptions.ResetSettings) { SystemManager.CleanAllLocalAppSettingsFolders(); CheckSettingsReset(true); } else if (!Settings.FirstLaunch && SystemManager.CommandLineOptions?.HideMainForm == true) { Globals.ForceStartupHide = true; } } catch (Exception ex) { ex.Manage(); } }