diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5012a0e..5b969a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: rev: v1.5.6 hooks: - id: chmod - args: [ "775" ] + args: [ "755" ] files: (\.sh|winapps)$ - id: forbid-crlf exclude: '\.(bat|cmd|reg)$' diff --git a/setup.sh b/setup.sh index 9dd555d..89117f3 100755 --- a/setup.sh +++ b/setup.sh @@ -1266,7 +1266,7 @@ function waFindInstalled() { /scale:"$RDP_SCALE" \ +auto-reconnect \ +home-drive \ - /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C "$BATCH_SCRIPT_PATH_WIN"" \ + /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C $BATCH_SCRIPT_PATH_WIN" \ /v:"$RDP_IP":"$RDP_PORT" &>"$FREERDP_LOG" & # Store the FreeRDP process ID.