Skip to content

Commit

Permalink
Set maxdepth in find app binaries in Playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
younglim authored Mar 14, 2023
1 parent 96cc35d commit b50cb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hats_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ echo "INFO: Path to node: $PATH_TO_NODE"
echo "INFO: Removing com.apple.quarantine attributes for required binaries to run"
find ./**/ImageMagick*/bin -exec xattr -d com.apple.quarantine {} \;&>/dev/null
find ./**/ImageMagick*/lib/*.dylib -exec xattr -d com.apple.quarantine {} \;&>/dev/null
find ./**/ms-playwright/**/** -maxdepth 0 -name "*.app" -exec xattr -d com.apple.quarantine {} \;&>/dev/null
find ./**/ms-playwright/**/** -maxdepth 1 -name "*.app" -exec xattr -d com.apple.quarantine {} \;&>/dev/null
xattr -d com.apple.quarantine $PATH_TO_NODE/node &>/dev/null

export PUPPETEER_SKIP_DOWNLOAD='true'
Expand Down

0 comments on commit b50cb74

Please sign in to comment.