aws-sam-cli@1.107.0: Path escape of extraction

This commit is contained in:
HUMORCE 2024-01-16 03:00:24 +08:00
parent 27a8f614ff
commit ea9fb8d020
No known key found for this signature in database
GPG Key ID: DC0A6BD4EBA8DC9B

View File

@ -15,7 +15,7 @@
}, },
"pre_install": [ "pre_install": [
"# Workaround for #4980", "# Workaround for #4980",
"Start-Process lessmsi -ArgumentList @('x', \"$dir\\$fname\", \"$dir\\\") -Wait -NoNewWindow", "Start-Process lessmsi -ArgumentList @('x', \"`\"$dir\\$fname`\"\", \"`\"$dir\\`\"\") -Wait -NoNewWindow",
"Move-Item \"$dir\\SourceDir\\Amazon\\AWSSAMCLI\\**\" \"$dir\"", "Move-Item \"$dir\\SourceDir\\Amazon\\AWSSAMCLI\\**\" \"$dir\"",
"Remove-Item \"$dir\\SourceDir\", \"$dir\\$fname\" -Force -Recurse" "Remove-Item \"$dir\\SourceDir\", \"$dir\\$fname\" -Force -Recurse"
], ],