mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-30 14:35:50 +03:00
8d16a80d2f
* refactor(core): capabilities must be referenced on the Tauri config file * add all capabilities by default * feat(codegen): allow defining additional capabilities, closes #8798 * undo example * lint * move add_capability to runtime authority * add change files * go through code review * fix tests * remove tokens option
7 lines
401 B
Markdown
7 lines
401 B
Markdown
---
|
|
"tauri-macros": patch:enhance
|
|
"tauri-codegen": patch:enhance
|
|
---
|
|
|
|
The `generate_context` proc macro now accepts a `capabilities` attribute where the value is an array of file paths that can be [conditionally compiled](https://doc.rust-lang.org/reference/conditional-compilation.html). These capabilities are added to the application along the capabilities defined in the Tauri configuration file.
|