Skip to content

Commit 38ac90c

Browse files
authored
Merge pull request #3 from thijsvdanker/master
Make script compatible with Monterey
2 parents 31954e6 + 6373d03 commit 38ac90c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

info.plist

+8-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,13 @@
7777
<key>runningsubtext</key>
7878
<string>Searching docs for "{query}"...</string>
7979
<key>script</key>
80-
<string>php livewire.php "{query}"</string>
80+
<string>if [ -f "/opt/homebrew/bin/php" ]; then
81+
/opt/homebrew/bin/php livewire.php "{query}"
82+
elif [ -f "/usr/local/bin/php" ]; then
83+
/usr/local/bin/php livewire.php "{query}"
84+
elif [ -f "/usr/bin/php" ]; then
85+
/usr/bin/php livewire.php "{query}"
86+
fi</string>
8187
<key>scriptargtype</key>
8288
<integer>0</integer>
8389
<key>scriptfile</key>
@@ -166,7 +172,7 @@ https://github.com/tillkruss/alfred-laravel-docs</string>
166172
<key>variablesdontexport</key>
167173
<array/>
168174
<key>version</key>
169-
<string>0.1.2</string>
175+
<string>0.1.3</string>
170176
<key>webaddress</key>
171177
<string>https://github.com/AlexMartinFR/alfred-livewire-docs/</string>
172178
</dict>

0 commit comments

Comments
 (0)