Skip to content

Commit

Permalink
fix: add PATH update in case you didn't install deno via homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
whomwah committed Oct 4, 2024
1 parent e3c179b commit e0d2d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<key>runningsubtext</key>
<string>Octocat initialising...please wait whilst we prefetch data</string>
<key>script</key>
<string>$(which deno) run --allow-env --allow-write --allow-read --allow-net ${INIT_FILE} filter $argv[1]</string>
<string>PATH="${HOME}/.deno/bin:${PATH}";$(which deno) run --allow-env --allow-write --allow-read --allow-net ${INIT_FILE} filter $argv[1]</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -246,7 +246,7 @@ echo "You are running the latest version (${alfred_workflow_version})"</string>
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>$(which deno) run --allow-net --allow-run --allow-env --allow-write --allow-read ${INIT_FILE} action $argv[1]</string>
<string>PATH="${HOME}/.deno/bin:${PATH}";$(which deno) run --allow-net --allow-run --allow-env --allow-write --allow-read ${INIT_FILE} action $argv[1]</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down

0 comments on commit e0d2d3b

Please sign in to comment.