* System tray and close-to-tray on desktop (#54)
A tray icon on Windows, macOS and Linux (tray_manager; libayatana-appindicator
on Linux, shown only when a StatusNotifier host is registered). Its menu:
a status line throttled to 2 s (also the Windows/macOS tooltip, clipped to
127 chars), Open Airclone, Pause/Resume all, a bandwidth-limit submenu, Quit.
Settings > Tray:
- "Closing the window keeps Airclone running in the tray", off by default,
stored tri-state. Never chosen + work running: ask once, save the answer.
No tray host: the switch is disabled and closing quits.
- "Start Airclone in the tray when I sign in": HKCU Run value written by the
runner from its own module path + --tray (the uninstaller removes it),
SMAppService.mainApp on macOS 13+, an XDG autostart entry whose Exec is
only the app's own quoted path (control characters refused). Hidden with
the reason on MSIX, Flatpak and Snap.
--tray starts hidden (the window opens instead when there is no tray). One
windowed instance per session on Windows and Linux; headless runs are never
blocked. The scheduler is untouched and keeps running in the tray.
Packaging: libayatana-appindicator in CI, the AppImage, the tarball deps,
Docker and the Flatpak (vendored flathub shared-modules). Docs: new
docs/guide/tray.md, platforms checklist (rule 20), guide index, README,
wiki, backlog, changelog. Mobile and web unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test(macos): print the crash report when a plain launch dies
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* build(linux): relax deprecation warnings for two plugin targets
tray_manager calls app_indicator_new(), which current libayatana-appindicator
marks deprecated, and flutter_secure_storage_linux's vendored json.hpp trips
clang's -Wdeprecated-literal-operator (this one also breaks main's Linux
build on the current runner image). Both are third-party sources; -Werror
stays on for our own runner code.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* build(linux): leave the json.hpp warning to main's runner pin
The flutter_secure_storage_linux failure comes from ubuntu-latest moving to
26.04 and is fixed on main by pinning the Linux jobs to ubuntu-24.04. This
branch keeps only the tray_manager deprecation relaxation it needs.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Release 0.30.0+163: system tray and close-to-tray (#54)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Link tray_manager with --as-needed so the tar.gz loads on Arch
Ubuntu's appindicator 0.5 pkg-config adds libayatana-indicator3 and
libayatana-ido3 to the plugin's NEEDED list; Arch's 0.6.1 needs neither.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Linux autostart: trust APPIMAGE only from inside our own APPDIR
Children of other AppImages inherit APPIMAGE, so the tar.gz build could
write a sign-in entry that starts some other program with --tray.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Tray review fixes: no per-tick menu rebuild, key dispatch, update Quit, single exit flow
Windows/macOS rebuild the tray menu only on a structure change (tray_manager
0.5.3 leaks a submenu HMENU per setContextMenu); Linux keeps a throttled live
status row. Clicks dispatch by MenuItem key. Settings > Update offers Quit
with close-to-tray on. Concurrent exit requests share one quit flow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* dart format
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: TheJakeBraun <210177983+TheJakeBraun@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>