mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-01 12:47:19 +02:00
Revert "Use custom port"
This reverts commit ee9523ee393e9a7b123960c3b0cdb34a06a4be3f.
This commit is contained in:
parent
994dcc28f3
commit
f6d56fdf50
10
bin/winapps
10
bin/winapps
@ -31,7 +31,7 @@ readonly SCRIPT_DIR_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && p
|
||||
# OTHER
|
||||
readonly VM_NAME="RDPWindows" # FOR 'libvirt' ONLY
|
||||
readonly CONTAINER_NAME="WinApps" # FOR 'docker' AND 'podman' ONLY
|
||||
readonly RDP_PORT=3390
|
||||
readonly RDP_PORT=3389
|
||||
readonly DOCKER_IP="127.0.0.1"
|
||||
# shellcheck disable=SC2155 # Silence warnings regarding masking return values through simultaneous declaration and assignment.
|
||||
readonly RUNID="${RANDOM}"
|
||||
@ -517,7 +517,7 @@ function waRunCommand() {
|
||||
-wallpaper \
|
||||
/wm-class:"Microsoft Windows" \
|
||||
/t:"Windows RDP Session [$RDP_IP]" \
|
||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
||||
/v:"$RDP_IP" &>/dev/null &
|
||||
|
||||
# Capture the process ID.
|
||||
FREERDP_PID=$!
|
||||
@ -536,7 +536,7 @@ function waRunCommand() {
|
||||
-wallpaper \
|
||||
"$MULTI_FLAG" \
|
||||
/app:program:"$2" \
|
||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
||||
/v:"$RDP_IP" &>/dev/null &
|
||||
|
||||
# Capture the process ID.
|
||||
FREERDP_PID=$!
|
||||
@ -574,7 +574,7 @@ function waRunCommand() {
|
||||
"$MULTI_FLAG" \
|
||||
/wm-class:"$FULL_NAME" \
|
||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$FULL_NAME" \
|
||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
||||
/v:"$RDP_IP" &>/dev/null &
|
||||
|
||||
# Capture the process ID.
|
||||
FREERDP_PID=$!
|
||||
@ -599,7 +599,7 @@ function waRunCommand() {
|
||||
"$MULTI_FLAG" \
|
||||
/wm-class:"$FULL_NAME" \
|
||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:$"FULL_NAME",cmd:\""$FILE_PATH"\" \
|
||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
||||
/v:"$RDP_IP" &>/dev/null &
|
||||
|
||||
# Capture the process ID.
|
||||
FREERDP_PID=$!
|
||||
|
Loading…
x
Reference in New Issue
Block a user