From 13735b9a934d4749df8a77c22be2677dfa090b88 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 22 Jun 2025 16:32:47 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 + +