You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(settings): expose update_check + open_settings_file via commands
Promotes the last hand-edit-only knob (update_check) into the Settings
GUI and gives the "reveal settings.json" affordance its own Tauri
command so it can live inside the Settings window instead of cluttering
the tray with a second "Settings*" entry.
Backend changes:
- AppSettings now carries `update_check` (Enabled/Manual/Disabled) and
`updater_available` (false for Scoop/MSIX installs so the frontend
can hide the section).
- New `set_update_check` command: persists + calls `refresh_indicator`
so the tray dot reacts immediately.
- New `open_settings_file` command: same logic as the tray's previous
private helper, now reachable from the frontend.
- `refresh_indicator` honours `update_check == Disabled` (returns no
version, so the dot + "Update available" item disappear).
- `build_menu` drops the "Open settings file…" entry and additionally
omits "Check for updates" when update_check is Disabled — matching
the enum's "no tray affordances" doc.
Tray menu becomes: [Update available?] Check for updates | Settings… |
Reset panel position | Quit gitwink. One Settings entry, no duplicate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments