diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 4f8818c..74f2dbd 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -1325,14 +1325,15 @@ function Start-Server { #endregion + + # Only launch UI if not in silent mode if (-not $SilentInstall) { + # open browser on whatever port you've set Start-Process "msedge.exe" -ArgumentList "--app=http://localhost:$Port" + # now start your server (this will block until you hit Exit in the UI) Start-Server } -#endregion -# open browser on whatever port you've set -#Start-Process "msedge.exe" -ArgumentList "--app=http://localhost:$Port" -# now start your server (this will block until you hit Exit in the UI) -#Start-Server + +