Is it possible to modify the "src-tauri/capabilities/default.json" file dynamically? #12321
Unanswered
RainyNight9
asked this question in
Q&A
Replies: 1 comment
-
You can't modify that file before it's included, but you can add capabilities dynamically: https://docs.rs/tauri/latest/tauri/trait.Manager.html#method.add_capability |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because in the project, we need to dynamically configure the domain name of the interface. Can we modify the 'src-tauri/capabilities/default.json' file?
Beta Was this translation helpful? Give feedback.
All reactions