10. System integration

[!ref] Full details in the User Manual, "System tray and auto-start".

10.1 System tray

Field Description
Enable Settings → General → Minimise to system tray
Tray icon Platform-native; switches with theme
Close-window behaviour Hide to tray, keep process
Menu items Show window / Settings / Check for updates / Quit
macOS limitation Toggle needs an app restart

10.2 Auto-start at login

Platform Install location
macOS ~/Library/LaunchAgents/<AppID>.plist
Windows HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Linux ~/.config/autostart/<AppID>.desktop

Launch arg: --from-autostart; combined with "Minimise to tray", boots silently.

10.3 Notifications

Event Default
Background task done System notification
Pending approval System notification (or modal if desktop is foreground)
Points expiry Status dot + one-time toast
Update available One-time toast; can be postponed

10.4 Online docs

Entry Behaviour
Sidebar "Help" button Opens https://avlcode.cn/docs.html in default browser
macOS Help menu → Online Docs Same target