Revert "Add debug log file when in release mode"

This reverts commit 0230be4541.
This commit is contained in:
miku-666
2022-11-04 11:14:43 +01:00
parent 0a704c52f5
commit 5a76b9a035

View File

@@ -19,8 +19,6 @@ namespace PckStudio
{
#if DEBUG
Debug.Listeners.Add(new TextWriterTraceListener(Console.Out));
#elif RELEASE
Debug.Listeners.Add(new TextWriterTraceListener(File.CreateText(Path.Combine(AppData, "pck-studio.debug.log"))));
#endif
var f = new MainForm();
if (args.Length > 0 && File.Exists(args[0]) && args[0].EndsWith(".pck"))
@@ -28,4 +26,4 @@ namespace PckStudio
Application.Run(f);
}
}
}
}