The test case for nsis-compat-updater
.
Serve those *.exe
and versions.nsis.json
in a directory via HTTP/HTTPS servers, and let's name the URL to the directory feed
.
- Install
nsis-compat-updater
and save as adependency
:
npm install nsis-compat-updater --save
- Import and setup
nsis-compat-updater
by passing infeed
,version
andarch
. - Combine
updater.checkForUpdates
,updater.downloadUpdate
andupdater.quitAndInstall
to complete update logic.
See also nsis-compat-updater.
npm install
npm run dist
npm run serve