Update winapps

This commit is contained in:
Sunong2008
2025-08-06 23:51:42 +08:00
committed by GitHub
parent 2c081f218c
commit cab82a24dd

View File

@@ -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}"