mirror of
https://github.com/winapps-org/winapps.git
synced 2025-08-10 04:27:43 +02:00
Merge pull request #629 from Sunrongguo2008/main
fix: Correct removable media path mapping for RDP drive redirection
This commit is contained in:
@@ -665,7 +665,7 @@ function waRunCommand() {
|
||||
# Convert path from UNIX to Windows style.
|
||||
FILE_PATH=$(echo "$2" | sed \
|
||||
-e 's|^'"${HOME}"'|\\\\tsclient\\home|' \
|
||||
-e 's|^\('"${REMOVABLE_MEDIA//|/\\|}"'\)/[^/]*|\\\\tsclient\\media|' \
|
||||
-e 's|^'"${REMOVABLE_MEDIA}"'|\\\\tsclient\\media|' \
|
||||
-e 's|/|\\|g')
|
||||
dprint "UNIX_FILE_PATH: ${2}"
|
||||
dprint "WINDOWS_FILE_PATH: ${FILE_PATH}"
|
||||
|
Reference in New Issue
Block a user