fix auto update background behavior#315
Conversation
There was a problem hiding this comment.
Code Review
This pull request implements a bundled launch agent for macOS to facilitate background filter updates while the app is closed. It introduces a new FilterUpdateAgent helper tool and manages its registration via SMAppService based on user settings. Additionally, the PR significantly expands the diagnostic logging for background tasks, silent pushes, and update scheduling across both macOS and iOS, surfacing this information in the settings view. The code also refactors security-scoped URL access into a reusable extension. Review feedback highlights an opportunity to make the app bundle path discovery more robust in the helper tool and recommends using enums instead of raw strings for diagnostic results to improve maintainability.
macOS auto-update now uses a bundled launch agent that wakes
wBlockin background-update mode while the app is closed.