mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 23:27: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
|
# OTHER
|
||||||
readonly VM_NAME="RDPWindows" # FOR 'libvirt' ONLY
|
readonly VM_NAME="RDPWindows" # FOR 'libvirt' ONLY
|
||||||
readonly CONTAINER_NAME="WinApps" # FOR 'docker' AND 'podman' 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"
|
readonly DOCKER_IP="127.0.0.1"
|
||||||
# shellcheck disable=SC2155 # Silence warnings regarding masking return values through simultaneous declaration and assignment.
|
# shellcheck disable=SC2155 # Silence warnings regarding masking return values through simultaneous declaration and assignment.
|
||||||
readonly RUNID="${RANDOM}"
|
readonly RUNID="${RANDOM}"
|
||||||
@ -517,7 +517,7 @@ function waRunCommand() {
|
|||||||
-wallpaper \
|
-wallpaper \
|
||||||
/wm-class:"Microsoft Windows" \
|
/wm-class:"Microsoft Windows" \
|
||||||
/t:"Windows RDP Session [$RDP_IP]" \
|
/t:"Windows RDP Session [$RDP_IP]" \
|
||||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
/v:"$RDP_IP" &>/dev/null &
|
||||||
|
|
||||||
# Capture the process ID.
|
# Capture the process ID.
|
||||||
FREERDP_PID=$!
|
FREERDP_PID=$!
|
||||||
@ -536,7 +536,7 @@ function waRunCommand() {
|
|||||||
-wallpaper \
|
-wallpaper \
|
||||||
"$MULTI_FLAG" \
|
"$MULTI_FLAG" \
|
||||||
/app:program:"$2" \
|
/app:program:"$2" \
|
||||||
/v:"$RDP_IP:$RDP_PORT" &>/dev/null &
|
/v:"$RDP_IP" &>/dev/null &
|
||||||
|
|
||||||
# Capture the process ID.
|
# Capture the process ID.
|
||||||
FREERDP_PID=$!
|
FREERDP_PID=$!
|
||||||
@ -574,7 +574,7 @@ function waRunCommand() {
|
|||||||
"$MULTI_FLAG" \
|
"$MULTI_FLAG" \
|
||||||
/wm-class:"$FULL_NAME" \
|
/wm-class:"$FULL_NAME" \
|
||||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:"$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.
|
# Capture the process ID.
|
||||||
FREERDP_PID=$!
|
FREERDP_PID=$!
|
||||||
@ -599,7 +599,7 @@ function waRunCommand() {
|
|||||||
"$MULTI_FLAG" \
|
"$MULTI_FLAG" \
|
||||||
/wm-class:"$FULL_NAME" \
|
/wm-class:"$FULL_NAME" \
|
||||||
/app:program:"$WIN_EXECUTABLE",icon:"$ICON",name:$"FULL_NAME",cmd:\""$FILE_PATH"\" \
|
/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.
|
# Capture the process ID.
|
||||||
FREERDP_PID=$!
|
FREERDP_PID=$!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user