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

fix: app restarts after sleepmode #1237

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Misieq01
Copy link
Collaborator

@Misieq01 Misieq01 commented Dec 12, 2024

Fixes #877

[ Summary ]

  • Created SystemStatus utility which listen to PowerStatus of device, for example ScreenLocked, Suspend, ScreenUnlocked
  • Adjusted updater to not proceed with autoupdate when device is in Suspend or ScreenLocked state
  • Adjusted update dialog to show information about not updating in this state

image

@Misieq01 Misieq01 marked this pull request as draft December 12, 2024 07:26
@Misieq01 Misieq01 marked this pull request as ready for review December 13, 2024 14:56
@Misieq01 Misieq01 requested a review from MCozhusheck January 8, 2025 13:08
@MCozhusheck
Copy link
Collaborator

This issue still persists. After putting machine to sleep mode I still had setup view again, looks like the problem is with useEffect which some reason triggers application_setup.
Logs in the attachment
logs.zip

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.

[Windows] App restarts after waking up from sleep mode
2 participants