A super simple local updater for Electron, just with replacing app.asar
This is an updater for Electron apps, working just by replacing app.asar
locally. It doesn't require specific version scheme or remote server or any OS
specific packager such as .dmg
or whatever. Just place a JSON file for update
information and update.dat
which is basically renamed app.asar
, in
resources
. Aaaaand that's it.
If your app is something very serious, it is recommended
using autoUpdater
though.
You can customise the texts in ./resources/update.json
.
- Fork and clone this repository
- Install deps:
npm install
- Replace files in
./resources
- Run
npm run pkg
- Updater binaries will be placed in
appdist
- There's no step 6!