From 5a76b9a0351f2d5a993c3136cf931e9de57c7b7e Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 4 Nov 2022 11:14:43 +0100 Subject: [PATCH] Revert "Add debug log file when in release mode" This reverts commit 0230be454157d49a15d0b6640d3e24a4689162d9. --- PCK-Studio/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PCK-Studio/Program.cs b/PCK-Studio/Program.cs index 908be7a0..e09bb7a9 100644 --- a/PCK-Studio/Program.cs +++ b/PCK-Studio/Program.cs @@ -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); } } -} \ No newline at end of file +}