mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 12:14:05 +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
401 B
401 B
tauri-macros | tauri-codegen |
---|---|
patch:enhance | 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. These capabilities are added to the application along the capabilities defined in the Tauri configuration file.