Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capabilities: clarify that TOML supports schema #3213

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/content/docs/security/capabilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ to higher privileged windows.

Tauri generates JSON schemas with all the permissions available to
your application, allowing autocompletion in your IDE.
To use a schema, set the `$schema` property in your configuration to one of the
platform-specific schemas located in the `gen/schemas` directory. Usually
To use a schema, set the `$schema` property in your configuration file
(either .json or .toml) to one of the platform-specific schemas
located in the `gen/schemas` directory. Usually
you will set it to `../gen/schemas/desktop-schema.json` or
`../gen/schemas/mobile-schema.json` though you can also define a capability
for a specific target platform.
Expand Down