mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
Add cargo feature (on by default) so downstream builders can disable the Tauri auto-updater with --no-default-features --features wry. - tauri-plugin-updater becomes an optional dependency - plugin registration gated by #[cfg(all(desktop, feature = updater))] - updater:default permission moved to its own capabilities/updater/updater.json - build.rs selects the capability glob based on the feature, since tauri-build fails on permissions from missing plugins
8 lines
202 B
JSON
8 lines
202 B
JSON
{
|
|
"$schema": "../../gen/schemas/desktop-schema.json",
|
|
"identifier": "updater-capability",
|
|
"platforms": ["macOS", "windows", "linux"],
|
|
"windows": ["main"],
|
|
"permissions": ["updater:default"]
|
|
}
|