Skip to content

Commit

Permalink
If using slim GUI auto launch browser
Browse files Browse the repository at this point in the history
Fix #236.
  • Loading branch information
gfs committed Jun 21, 2019
1 parent 303aa9f commit c857b5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gui/Program.cs
Expand Up @@ -11,6 +11,10 @@ public class Program
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
if (!HybridSupport.IsElectronActive)
{
Helpers.OpenBrowser("http://localhost:5000");
}
}

public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
Expand Down

0 comments on commit c857b5a

Please sign in to comment.