Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Jan 14, 2025
1 parent b041cde commit e4d99ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ jobs:
run: |
mkdir -p ~/custom-bin
echo '#!/bin/bash' > ~/custom-bin/open
echo 'if [[ "$1" =~ ^https?:// ]]; then' >> ~/custom-bin/open
echo ' "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" "$@"' >> ~/custom-bin/open
echo 'if [[ "$1" == http* ]]; then' >> ~/custom-bin/open
echo ' # Open URLs in Chrome in the background' >> ~/custom-bin/open
echo ' nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome "$1" &>/dev/null &' >> ~/custom-bin/open
echo 'else' >> ~/custom-bin/open
echo ' /usr/bin/open "$@"' >> ~/custom-bin/open
echo ' # Fallback to the default open command for non-URL files' >> ~/custom-bin/open
echo ' /usr/bin/open "$@"' >> ~/custom-bin/open
echo 'fi' >> ~/custom-bin/open
chmod +x ~/custom-bin/open
Expand Down

0 comments on commit e4d99ff

Please sign in to comment.