diff --git a/info.plist b/info.plist
index 2162dd2..e47d71b 100644
--- a/info.plist
+++ b/info.plist
@@ -79,9 +79,15 @@
runningsubtext
Searching docs for "{query}"...
script
- /opt/homebrew/bin/php laravel.php "$1"
+ if [ -f "/opt/homebrew/bin/php" ]; then
+ /opt/homebrew/bin/php laravel.php "{query}"
+elif [ -f "/usr/local/bin/php" ]; then
+ /usr/local/bin/php laravel.php "{query}"
+elif [ -f "/usr/bin/php" ]; then
+ /usr/bin/php laravel.php "{query}"
+fi
scriptargtype
- 1
+ 0
scriptfile
subtext