This is an example electron app to show how to update self using innoSetup.
The name innobox
is the demo name.
# install dependencies
npm install
# run app
npm start
npm i -g gulp
gulp inno
This command will package innobox to file release/innobox-setup.exe
File inno-update.js
implement API which defines in http://electron.atom.io/docs/v0.36.4/api/auto-updater/
是不是很简单,坑爹的我花了好长时间才想起来可以这么做。