Testing the whole auto-update process takes a few steps since you need to install one version of the app, publish a new one, and then see what happens. Let's see those steps in practice:
- Go to the release page and download the installer package. For macOS, this is going to be in .dmg format:
- Install the app and run it to ensure it works as expected. Close the application for now; we are going to return to it shortly.
- Update the package.json file and set the version attribute to 1.1.0. Alternatively, you can run the following command to update the file:
npm version minor
- The output should be as follows:
v1.1.0 ...