From 7d3a9e9126718ce59f1b5eb2aa4deec0297576b0 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Wed, 10 Sep 2025 21:50:11 +1000 Subject: [PATCH 1/2] fix #719 + rename svg title Signed-off-by: Rohan Barar --- install/windows.svg | 2 +- setup.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install/windows.svg b/install/windows.svg index 2395573..37f79ee 100644 --- a/install/windows.svg +++ b/install/windows.svg @@ -1,5 +1,5 @@ - POO + Windows diff --git a/setup.sh b/setup.sh index 3a871c8..08c95fe 100755 --- a/setup.sh +++ b/setup.sh @@ -1043,6 +1043,7 @@ function waCheckRDPAccess() { /p:"$RDP_PASS" \ /scale:"$RDP_SCALE" \ +auto-reconnect \ + +home-drive \ /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C type NUL > $TEST_PATH_WIN && tsdiscon" \ /v:"$RDP_IP" &>"$FREERDP_LOG" & @@ -1174,6 +1175,7 @@ function waFindInstalled() { /p:"$RDP_PASS" \ /scale:"$RDP_SCALE" \ +auto-reconnect \ + +home-drive \ /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C "$BATCH_SCRIPT_PATH_WIN"" \ /v:"$RDP_IP" &>"$FREERDP_LOG" & From e6870012ed0028ec8a7bd52d0fb82c1981b053b4 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Wed, 10 Sep 2025 22:00:45 +1000 Subject: [PATCH 2/2] silence false-positive shellcheck SC2329 Signed-off-by: Rohan Barar --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 08c95fe..d2fd139 100755 --- a/setup.sh +++ b/setup.sh @@ -116,7 +116,7 @@ trap "waTerminateScript" ERR # Catch non-zero return values. ### FUNCTIONS ### # Name: 'waTerminateScript' # Role: Terminates the script when a non-zero return value is encountered. -# shellcheck disable=SC2317 # Silence warning regarding this function being unreachable. +# shellcheck disable=SC2329 # Silence warning regarding this function never being invoked (shellCheck is currently bad at figuring out functions that are invoked via trap). function waTerminateScript() { # Store the non-zero exit status received by the trap. local EXIT_STATUS=$?