Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement retry logic for registering trayicon #117

Merged
merged 1 commit into from
May 26, 2024
Merged

feat: implement retry logic for registering trayicon #117

merged 1 commit into from
May 26, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented May 26, 2024

When launched by a scheduled task, the window-switcher may fail to register its tray icon due to the desktop environment not being fully initialized. close #111

This PR adds retry logic to prevent this problem.

@sigoden sigoden merged commit 84b5264 into main May 26, 2024
2 checks passed
@sigoden sigoden deleted the feat branch May 26, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to add trayicon, Unspecified error (0x80004005)
1 participant