Skip to content

Commit 217c34a

Browse files
authored
capabilities: clarify that TOML supports schema (#3213)
1 parent c4c3da1 commit 217c34a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/security/capabilities.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@ to higher privileged windows.
217217

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

0 commit comments

Comments
 (0)