-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add auto-updating #65
Conversation
@@ -78,6 +87,7 @@ | |||
"del": "^5.1.0", | |||
"electron": "^8.2.5", | |||
"electron-builder": "^22.6.0", | |||
"electron-log": "^4.1.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably want to remove dependencies from README and move it to a DEPENDENCIES.md file because might get to hard to manage listing all these dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good point, however I don't think this is within the scope of this PR, so I'll create another PR just for reorganizing docs.
Problem
Resolves #63.
Solution
https://medium.com/@johndyer24/creating-and-deploying-an-auto-updating-electron-app-for-mac-and-windows-using-electron-builder-6a3982c0cee6
I also want to automate CI deployment of the cask. TODO: update the workflow to also update and push to
homebrew-cask
.Before & After Screenshots
BEFORE:
[insert screenshot here]
AFTER:
[insert screenshot here]
Other changes (e.g. bug fixes, UI tweaks, small refactors)
Deploy Notes
Notes regarding deployment of the contained body of work. These should note any
new dependencies, new scripts, etc.
New environment variables:
GH_TOKEN
: Required for CI publishing. Accessed inpackage.json
.New scripts:
build
: Build project but don't publish to Github.deploy
: Build project and publish to Github.New dependencies:
electron-updater
: [https://www.electron.build/auto-update][https://www.electron.build/auto-update]New dev dependencies:
electron-log
: https://github.com/megahertz/electron-log