Skip to content

Commit

Permalink
do console on release if env var set
Browse files Browse the repository at this point in the history
  • Loading branch information
factubsio committed Mar 18, 2023
1 parent 4e18c6c commit fdb0369
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BlueprintExplorer/BubblePrints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public static void Install()
{
#if DEBUG
AllocConsole();
#else
if (Environment.GetEnvironmentVariable("BUBBLEPRINTS_DEBUG") != null)
{
AllocConsole();
}
#endif

if (!Directory.Exists(DataPath))
Expand Down

0 comments on commit fdb0369

Please sign in to comment.