Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing update dialog when auto update disabled (#1547)
#1546 Description --- When `auto_update` is disabled, the update dialog did not appear during the initial app launch. This issue arose because the `AutoUpdateDialog` was setting up listeners for the `updates_event `after the event had already been emitted from the backend. **Solution**: I resolved this issue by moving the `initialize_periodic_updates` function to the `frontend_ready` command. This change ensures that the frontend is already prepared to handle the event appropriately. Testing --- Run the app when newer version is available and `auto_update` is disabled. You should see the update dialog:  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit This release refines how the app manages updates for a smoother experience. Key changes include: - **Refactor** - Enhanced the update process with improved error feedback to better inform users if issues arise. - **Chores** - Removed the automatic background update checks at startup, streamlining the launch process. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information