From a7d6762113ec839dfe778cc0aad41321af526c9d Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 29 Jun 2025 03:43:51 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index be40c6c..5fb6d61 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -165,9 +165,6 @@ if ($gallery.InstallationPolicy -ne 'Trusted') { Write-Host "PSGallery marked as Trusted" -ForegroundColor Green } -# …and only *after* this completes* do you Start-Server… -Write-Host "Starting ScriptMonkey UI on http://localhost:$Port/" -ForegroundColor Cyan - #endregion @@ -1562,15 +1559,6 @@ function Start-Server { #endregion -# Only launch the UI if we're in the default UI parameter set -if ($PSCmdlet.ParameterSetName -eq 'UI') { - # now that $Port is defined, show it properly: - Write-Host "Starting ScriptMonkey UI on http://localhost:$Port/" -ForegroundColor Cyan - Start-Process "msedge.exe" -ArgumentList "--app=http://localhost:$Port" - Start-Server # this will block until you hit Exit - return -} - # At the end of ScriptMonkey.ps1 if ($MyInvocation.ExpectingInput) {