mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-25 19:41: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
15 lines
348 B
JSON
15 lines
348 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "desktop-capability",
|
|
"platforms": ["macOS", "windows", "linux"],
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:window:allow-set-badge-count",
|
|
"window-state:default",
|
|
"store:default",
|
|
"notifications:default",
|
|
"process:default",
|
|
"dialog:default"
|
|
]
|
|
}
|