Skip to content

Delay Auto-Update Until All Operations Have Completed#3340

Closed
mrixner wants to merge 2 commits intoDevolutions:mainfrom
mrixner:self-update-at-end
Closed

Delay Auto-Update Until All Operations Have Completed#3340
mrixner wants to merge 2 commits intoDevolutions:mainfrom
mrixner:self-update-at-end

Conversation

@mrixner
Copy link
Copy Markdown
Contributor

@mrixner mrixner commented Feb 22, 2025

  • I have read the contributing guidelines, and I agree with the Code of Conduct.
  • Have you checked that there aren't other open pull requests for the same changes?
  • Have you tested that the committed code can be executed without errors?
  • This PR is not composed of garbage changes used to farm GitHub activity to enter potential Crypto AirDrops.
    Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.

This PR has UniGetUI wait until all operations in the queue have finished before automatically updating.


Closes #3277

!ReleaseLockForAutoupdate_Notification &&
!ReleaseLockForAutoupdate_UpdateBanner)
!ReleaseLockForAutoupdate_UpdateBanner &&
MainApp.Operations.AreThereRunningOperations())
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This approach doesn't work. You can test it by decreasing the build number on CoreData.cs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I'll look into it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can't even get UniGetUI to delay updating until the MainWindow is opened, it's updating as soon as it starts right now. I honestly have no idea how to fix that, and while this would be a great feature to have I have no idea to debug why it isn't working, so I will close this PR and accept defeat.

@mrixner mrixner marked this pull request as draft February 26, 2025 19:05
@mrixner mrixner closed this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] Put self-Update to the end of the list.

2 participants