-
Notifications
You must be signed in to change notification settings - Fork 73
FAQ
Run npm run package:win
this will create a executable installation, an msi installation, and a stand-alone executable in the dist dirctory based on the version number in the package.json file.
Run npm run package:linux
this will create snap and AppImage installations as well as tar.gz, tar.lz, and tar.xz formats. Changes to build.linux.target
array entries can be used to only build specific output types.
Run npm run package:mac
this will create dmg installations suitable for Macintosh OSX as well as mountable application.
Ensure your Docker environment is set up appropriately. Run npm run docker
to pull and launch the electronland/electron-builder image and launch the current working directory as /
. Some environments require $(pwd)
to be replaced with the actual host directory. You can make the change as needed in package.json.
Once the electron-builder environment is loaded, run npm run package:linux
to create the Linux installations as you would in a full Linux environment.
The port our app use may have already been taken by another process, or being blocked by a firewall or some proxy settings.
You can either free up the port or set up a custom port to use.
In order to set up the port, add an enviroment variable 'AZURE_IOT_EXPLORER' with its value being an open port that the app can use and then restart the app.
For example in powershell, you can execute the following command: [System.Environment]::SetEnvironmentVariable('AZURE_IOT_EXPLORER', '55883')