Skip to main content

max / goingson

Grant updater:default capability so OTA install works The updater check runs Rust-side (check_for_updates via UpdaterExt), so update notifications worked, but "Install & Restart" calls the JS plugin command plugin:updater|download_and_install — which no capability granted, producing a "command plugin:update… not allowed" error toast. Add updater:default (check + download + install) to the desktop capability. Note: pre-existing builds (incl. installed 0.4.0 and the published 0.4.1) have the broken capability baked in and cannot self-update; a fixed build must be installed manually before OTA install works going forward. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-06-08 04:10 UTC
Commit: d4d9b29e990035d71e74f36e6bbfd6881f3af4dd
Parent: bca0b45
1 file changed, +3 insertions, -2 deletions
@@ -1,11 +1,12 @@
1 1 {
2 2 "$schema": "https://schemas.tauri.app/capabilities/2",
3 3 "identifier": "desktop",
4 - "description": "Desktop-only capabilities (shell, notifications)",
4 + "description": "Desktop-only capabilities (shell, notifications, OTA updater)",
5 5 "platforms": ["linux", "macOS", "windows"],
6 6 "windows": ["main", "compose-*"],
7 7 "permissions": [
8 8 "shell:allow-open",
9 - "notification:default"
9 + "notification:default",
10 + "updater:default"
10 11 ]
11 12 }