Update StackMonkey.ps1
This commit is contained in:
@@ -1325,14 +1325,15 @@ function Start-Server {
|
|||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
# Only launch UI if not in silent mode
|
# Only launch UI if not in silent mode
|
||||||
if (-not $SilentInstall) {
|
if (-not $SilentInstall) {
|
||||||
|
# open browser on whatever port you've set
|
||||||
Start-Process "msedge.exe" -ArgumentList "--app=http://localhost:$Port"
|
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
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user