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: export a utility class instance #137

Closed
wants to merge 3 commits into from
Closed

Conversation

justgo97
Copy link

@justgo97 justgo97 commented Jan 17, 2024

Hello, This PR wraps the current code in a class to make more room for customizations and more features:

  • Get the current status of the update process ( updateElectron.isActive, updateElectron.isChecking, updateElectron.isError, updateElectron.isDownloading and updateElectron.isDownloaded )
  • Adds a new function to allow the user to stop checking for updates ( updateElectron.cancelUpdateTimer() ) fixes Feature to stop checking for updates #65
  • Allow changing the dialoge messages (updateElectron.dialogTitle, updateElectron.dialogDetail, updateElectron.dialogButtonRestart and updateElectron.dialogButtonLater) fixes How do I change the update message? #116

// this is outdated. TODO: rewrite this PR to match https://github.com/justgo97/electron-inline-updater features

* Add a function to cancel update timer with updateElectron.cancelUpdateTimer()
* Add dialogTitle, dialogDetail, dialogButtonRestart and dialogButtonLater to customize the dialog text
* Add isActive, isChecking, isError, isDownloading and isDownloaded to know the current status of the update process
@justgo97 justgo97 requested a review from a team as a code owner January 17, 2024 14:26
@justgo97 justgo97 closed this Nov 20, 2024
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.

How do I change the update message? Feature to stop checking for updates
1 participant