Merge pull request #731 from KernelGhost/main

fix #719 + rename svg title
This commit is contained in:
Oskar Manhart
2025-09-11 14:16:59 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="2048" height="2048">
<title>POO</title>
<title>Windows</title>
<defs>
<linearGradient id="g1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2048,-2048,2048,-2048,2048,2048)">
<stop offset="0" stop-color="#067cd6"/>

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 723 B

View File

@@ -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=$?
@@ -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" &