Skip to content

What are the uses of Permission? #11706

Answered by FabianLars
RainyNight9 asked this question in Q&A
Discussion options

You must be logged in to vote

Your src-tauri/capabilities/default.json file should also have a windows property by default, doesn't it? I assume it looks like this "windows": ["main"] (main is the label of your first window unless you specify a custom label). The error is asking you to add the label of your second window to that array because capabilities are opt-in.
"windows": ["main", "chat"]

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RainyNight9
Comment options

@FabianLars
Comment options

Answer selected by RainyNight9
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