Skip to content

Draft: Plugin Event #40

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

Open
wants to merge 5 commits into
base: automated-updates/client
Choose a base branch
from

Conversation

SniperSister
Copy link
Collaborator

Summary of Changes

This PR adds a plugin event that allows 3rd party developers to influence the auto-update behavior.

Most importantly, it exposes two methods on the event:

  • setStopUpdate -> that stops the update
  • addPreparationUrl -> appends a URL to the preparation queue; that queue will be called by the update server before the actual extraction is performed and thereby allows preparation steps, i.e. the creation of a backup

@SniperSister SniperSister requested a review from bembelimen May 19, 2025 15:47
@SniperSister SniperSister self-assigned this May 19, 2025
@SniperSister SniperSister requested a review from HLeithner May 19, 2025 15:47
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.

1 participant