Need to find a good auto-updater that will just update the app in the background like Atom or Chrome. I don't want any UI for that. It should update when a new version is published on GitHub Releases.
Candidates:
I really like the simplicity of electron-gh-releases.
I think the only hurdle in implementing electron-gh-releases is the need to build using grunt-electron-installer for Windows.
@andersfischernielsen Could use https://github.com/unindented/electron-installer-windows instead.
What does your current release workflow look like for Caprine, @sindresorhus?
It kinda depends on that as I see it.
If using electron-gh-releases really is as simple as adding a .json to the root of the repo, then it shouldn't change much workflow wise, unless there's a signing issue with the app for Windows.(It should be noted that I don't really care for Windows support).
What does your current release workflow look like for Caprine, @sindresorhus?
$ npm run build and then I manually upload the ZIP files to the release.
It should be noted that I don't really care for Windows support
Me neither. That's why this hasn't been a priority. For OS X homebrew works fine.
I'd also like to get the ability to enable auto-updates. I just upgraded from 1.0.0 because I didn't know there was updates.
For Windows, you should consider using the official Electron UWP app converter, this way you could publish the app on the Windows 10 store which would handle installs, updates and pretty much everything else for you (and also: provide lots of visibility, which I think is always a plus)
Any updates on this?
Finally done in: https://github.com/sindresorhus/caprine/releases/tag/v2.0.0 :)
Most helpful comment
For Windows, you should consider using the official Electron UWP app converter, this way you could publish the app on the Windows 10 store which would handle installs, updates and pretty much everything else for you (and also: provide lots of visibility, which I think is always a plus)