Hi all! Amresh this side!
I was very much interested with 2nd Idea of GSOC '22: Seamless Desktop Application Updates of Joplin.
I have tried implementing this with an example electron-quick-start project. (Most stuff is from electron-builder docs and examples)
Also added some workflows to make release drafts with AppImage in assets automatically.
Repo: https://github.com/AmreshSinha/electron-quick-start
Usage (Linux)
- In your fork first of all delete all the tags and releases if there is any. (
git tag --delete tag-name
) - Edit the
repository
field in package.json and replace it with your own fork url. - Make sure package.json has the version id as v1.0.0 . Build the app with
yarn dist
. -
git commit -am v1.0.0 git tag v1.0.0 git push && git push --tags
- Publish the draft release on github
- Now edit the version id to v1.1.0 in package.json.
-
git commit -am v1.1.0 git tag v1.1.0 git push && git push --tags
- Again Release the Draft on github
- Run the AppImage which we made in step 2. It will update it and as soon as you quit, it will replace the old AppImage with New AppImage.
or
Downlod the v1.0.0 release AppImage from the repo link and run it. It will update to v1.1.0 and replace the old AppImage file.
This whole thing is also valid for Windows and Mac distributions too.
Waiting for your feedbacks!
Also wanted to ask if there is any Gitter channel, Slack, IRC or Discord server for quick contact to mentors and maintainers?