diff --git a/CreamInstaller/Program.cs b/CreamInstaller/Program.cs index 4cae8ca..3e80873 100644 --- a/CreamInstaller/Program.cs +++ b/CreamInstaller/Program.cs @@ -35,7 +35,7 @@ internal static class Program internal static readonly string CurrentProcessFilePath = CurrentProcess.MainModule?.FileName; internal static readonly int CurrentProcessId = CurrentProcess.Id; - // this may forever be false, but who knows, maybe acidicoala makes it once again better than CreamAPI some day + // Setting is now toggleable. Huzzah! internal static bool UseSmokeAPI = true; internal static bool BlockProtectedGames = true; diff --git a/CreamInstaller/Resources/CreamAPI.cs b/CreamInstaller/Resources/CreamAPI.cs index f5e3863..9820d7b 100644 --- a/CreamInstaller/Resources/CreamAPI.cs +++ b/CreamInstaller/Resources/CreamAPI.cs @@ -37,6 +37,7 @@ internal static class CreamAPI _ = dlc.Add(extraDlc); config.DeleteFile(); + installForm?.UpdateUser($"Deleted unnecessary configuration: {Path.GetFileName(config)}", LogTextBox.Action, false); config.CreateFile(true, installForm)?.Close(); StreamWriter writer = new(config, true, Encoding.Default); WriteConfig(writer, selection.Name, !int.TryParse(selection.Id, out _) ? "0" : selection.Id, @@ -44,9 +45,6 @@ internal static class CreamAPI writer.Flush(); writer.Close(); return; - - installForm?.UpdateUser($"Deleted unnecessary configuration: {Path.GetFileName(config)}", LogTextBox.Action, - false); } private static void WriteConfig(StreamWriter writer, string name, string appId,