Skip to content

Commit

Permalink
Suggest alwyas use crossLaunchCommand()
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Jun 10, 2024
1 parent 6708c2f commit 5f145e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ This field allows providers to get to know who is using their extension. See [ma
}
```

You may need to catch exceptions from `launchCommand()` if the target command is not installed.
The [`open()`](https://developers.raycast.com/api-reference/utilities#open) redirects to the Store when `launchCommand()` errored.
We recommend always using the `crossLaunchCommand()` API to launch cross-extensions even your extension doesn't use the callback launch feature.

You may need to catch exceptions from `crossLaunchCommand()` if the target command is not installed.
The [`open()`](https://developers.raycast.com/api-reference/utilities#open) redirects to the Store when `crossLaunchCommand()` errored.

#### Example

Expand Down

0 comments on commit 5f145e6

Please sign in to comment.