@raycast/api 1.39.2 → 1.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/ray +4 -4
  2. package/package.json +1 -1
package/bin/ray CHANGED
@@ -11,7 +11,7 @@ while [ -L "$source" ]; do
11
11
  [[ $source != /* ]] && source=$dir/$source
12
12
  done
13
13
  bin_dir=$( cd -P "$( dirname "$source" )" >/dev/null 2>&1 && pwd )
14
- dist_dir=$(dirname $bin_dir)
14
+ dist_dir=$(dirname "$bin_dir")
15
15
 
16
16
  if [ -z "$bin_dir" ]; then
17
17
  echo "Unable to determine CLI path for source: ${BASH_SOURCE:-$0}"
@@ -43,14 +43,14 @@ elif [ "${os}" = "Linux" ]; then
43
43
  fi
44
44
 
45
45
  # Define the path for CLI for current architecture
46
- ray_path=$bin_dir/$architecture_dir/ray
46
+ ray_path="$bin_dir/$architecture_dir/ray"
47
47
 
48
48
  # If there is no CLI for current architecture, download it
49
49
  if [ ! -f "$ray_path" ]; then
50
50
  install_cli;
51
51
  else
52
52
  # If version of the CLI for current architecture is outdated, re-download the CLI
53
- ray_version=$($ray_path version)
53
+ ray_version=$("$ray_path" version)
54
54
  if [ "$ray_version" != "$api_version" ]; then
55
55
  install_cli;
56
56
  fi
@@ -62,4 +62,4 @@ if [ "$1" == "npm-post-install" ]; then
62
62
  fi
63
63
 
64
64
  # Execute the CLI passing all parameters to it
65
- $ray_path "$@"
65
+ "$ray_path" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.39.2",
3
+ "version": "1.39.3",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "author": "Raycast Technologies Ltd.",
6
6
  "homepage": "https://developers.raycast.com",