You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-reference/menu-bar-commands.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
The `MenuBarExtra` component can be used to create commands which populate the [extras](https://developer.apple.com/design/human-interface-guidelines/components/system-experiences/the-menu-bar#menu-bar-commands) section of macOS' menu bar.
4
4
5
+
{% hint style="info" %}
6
+
7
+
Menubar commands aren't available on Windows.
8
+
9
+
{% endhint %}
10
+
5
11
## Getting Started
6
12
7
13
If you don't have an extension yet, follow the [getting started](../basics/getting-started.md) guide and then return to this page.
Copy file name to clipboardExpand all lines: docs/basics/contribute-to-an-extension.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,4 @@ When you're done editing the extension, make sure to add yourself to the contrib
24
24
25
25
Additionally, ensure the `CHANGELOG.md` file is updated with your changes; create it if it doesn't exist. Use the `{PR_MERGE_DATE}` placeholder for the date – see the [Version History documentation](prepare-an-extension-for-store.md#version-history) for details.
26
26
27
-
Once everything is ready, see [how to publish an extension](publish-an-extension.md) for instructions on validating and publishing the changes (via a pull request).
27
+
Once everything is ready, see [how to publish an extension](publish-an-extension.md) for instructions on validating and publishing the changes.
Copy file name to clipboardExpand all lines: docs/basics/prepare-an-extension-for-store.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Here you will find requirements and guidelines that you'll need to follow in ord
12
12
- Ensure you use your **Raycast** account username in the `author` field
13
13
- Ensure you use `MIT` in the `license` field
14
14
- Ensure you are using the latest Raycast API version
15
+
- Ensure the `platforms` field matching the requirement of your extension, eg. if you use platform-specific APIs, restrict the `platforms` field to the corresponding platform
15
16
- Please use `npm` for installing dependencies and include `package-lock.json` in your pull request. We use `npm` on our Continuous Integration (CI) environment when building and publishing extensions so, by providing a `package-lock.json` file, we ensure that the dependencies on the server match the same versions as your local dependencies.
16
17
- Please check the terms of service of third-party services that your extension uses.
17
18
- Read the [Extension Guidelines](https://manual.raycast.com/extensions) and make sure that your Extension comply with it.
Copy file name to clipboardExpand all lines: docs/information/manifest.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Here is a typical manifest file:
11
11
"description":"My extension that can do a lot of things",
12
12
"icon":"icon.png",
13
13
"author":"thomas",
14
+
"platforms": ["macOS", "Windows"],
14
15
"categories": ["Fun", "Communication"],
15
16
"license":"MIT",
16
17
"commands": [
@@ -35,10 +36,10 @@ All Raycast related properties for an extension.
35
36
| description<markstyle="color:red;">\*</mark> | The full description of the extension shown in the Store. |
36
37
| icon<markstyle="color:red;">\*</mark> | A reference to an icon file in the assets folder. Use png format with a size of 512 x 512 pixels. To support light and dark theme, add two icons, one with `@dark` as suffix, e.g. `icon.png` and `icon@dark.png`. |
37
38
| author <markstyle="color:red;">\*</mark> | Your Raycast Store handle (username) |
39
+
| platforms <markstyle="color:red;">\*</mark> | An Array of platforms supported by the extension(`"macOS"` or `"Windows"`). If the extension uses some platform-specific APIs, restrict which platform can install it. |
38
40
| categories<markstyle="color:red;">\*</mark> | An array of categories that your extension belongs in. |
39
41
| commands<markstyle="color:red;">\*</mark> | An array of [commands](./terminology.md#command) exposed by the extension, see [Command properties](manifest.md#command-properties). |
40
42
| tools | An array of tools that the AI can use to interact with this extension, see [Tool properties](#tool-properties). |
41
-
| platforms | An Array of platforms supported by the extension. If the extension uses some platform-specific APIs, add this field to restrict which platform can install it (`"macOS"` or `"Windows"`). |
42
43
| ai | Additional information related to the AI capabilities of the extension, see [AI properties](#ai-properties). |
43
44
| owner | Used for extensions published under an organisation. When defined, the extension will be [private](../teams/getting-started.md) (except when specifying `access`). |
44
45
| access | Either `"public"` or `"private"`. Public extensions are downloadable by anybody, while [private](../teams/getting-started.md) extensions can only be downloaded by a member of a given organization. |
@@ -78,7 +79,7 @@ All properties for extension or command-specific preferences. Use the [Preferenc
78
79
| type<markstyle="color:red;">\*</mark> | The preference type. We currently support `"textfield"` and `"password"` (for secure entry), `"checkbox"`, `"dropdown"`, `"appPicker"`, `"file"`, and `"directory"`. |
79
80
| required<markstyle="color:red;">\*</mark> | Indicates whether the value is required and must be entered by the user before the extension is usable. |
80
81
| placeholder | Text displayed in the preference's field when no value has been input. |
81
-
| default | The optional default value for the field. For textfields, this is a string value; for checkboxes a boolean; for dropdowns the value of an object in the data array; for appPickers an application name, bundle ID or path.Additionally, you can specify a different value per plaform by passing an object: <code>{ "macOS": ..., "Windows": ... }</code>`.|
82
+
| default |<p>The optional default value for the field. For textfields, this is a string value; for checkboxes a boolean; for dropdowns the value of an object in the data array; for appPickers an application name, bundle ID or path.</p><p>Additionally, you can specify a different value per plaform by passing an object: <code>{ "macOS": ..., "Windows": ... }</code>`.</p>|
82
83
83
84
Depending on the `type` of the Preference, some additional properties can be required:
0 commit comments