Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Small to only do the trickery in release mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceanswave committed Sep 12, 2020
1 parent 1bd71c6 commit bed7ffb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public Program(bool showWindowOnStartup = true)
[STAThread]
static void Main(string[] args)
{
#if DEBUG
if (ExecFunction.IsExecFunctionCommand(args))
{
ExecFunction.Program.Main(args);
Expand All @@ -96,6 +97,9 @@ static void Main(string[] args)
Launch();
});
}
#else
Launch();
#endif
}

/// <summary>
Expand Down

0 comments on commit bed7ffb

Please sign in to comment.