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

[AWAKE] Update to include a new icon retry strategy #36049

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

dend
Copy link
Collaborator

@dend dend commented Nov 22, 2024

PowerToys Awake now has the option to retry icon setup.

@dend dend marked this pull request as draft November 22, 2024 01:27

throw new Win32Exception(errorCode, $"Failed to change tray icon. Action: {action} and error code: {errorCode}");
Thread.Sleep(100);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why sleep if we are after the third attempt?

Comment on lines +8 to 10
using ManagedCommon;

using ManagedCommon;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate

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.

3 participants