The top-level win key contains set of options instructing electron-builder on how it should build Windows targets. These options applicable for any Windows target.
target = nsis String | TargetConfiguration - The target package type: list of nsis, nsis-web (Web installer), portable (portable app without installation), appx, msi, squirrel, 7z, zip, tar.xz, tar.lz, tar.gz, tar.bz2, dir. AppX package can be built only on Windows 10.
自问自答下:
在项目根目录的
package.json
文件里添加参考https://www.electron.build/co...
里面写到: