Skip to content
Discussion options

You must be logged in to vote

You only have to allow the APIs you need but don't have to worry about the scope configs (handled by the file picker), so for example to allow the file picker and the readDir method:

"permissions": ["dialog:allow-open", "fs:allow-read-dir"]

If you miss one of the permissions you may need tauri will throw an error on the respective function call telling which permission(s) will enable that function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bouteillerAlan
Comment options

@bouteillerAlan
Comment options

@bouteillerAlan
Comment options

Answer selected by bouteillerAlan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants