Unverified Commit 642e8826 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Port per platform (#721)

parent a1f5fa01
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -143,9 +143,9 @@ getUserPorts() {
  local args=""
  local list=$1
  local ssh="22"
  local rdp="3389"

  [ -z "$list" ] && list="$ssh,$rdp" || list+=",$ssh,$rdp"
  [[ "${BOOT_MODE:-}" == "windows"* ]] && ssh="3389"
  [ -z "$list" ] && list="$ssh" || list+=",$ssh"

  list="${list//,/ }"
  list="${list## }"