mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-20 02:05:34 +00:00
Revert "Add debug log file when in release mode"
This reverts commit 0230be4541.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user