-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(update): implement asynchronous update checking for Windows and …
…Winget This commit introduces the `UpdateWorker` class, which utilizes QThread to perform update checks for both Windows and Winget asynchronously. This change enhances the user interface by preventing blocking during update checks, allowing for a smoother experience. The `start_windows_update_timer` and `start_winget_update_timer` methods have been updated to initiate these workers, and signals are emitted with the results of the update searches. Additionally, the previous synchronous update methods have been removed to streamline the code. Error handling has been improved to log issues encountered during update checks.
- Loading branch information
Showing
1 changed file
with
175 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters