Electron Forge 构建 MSI 安装包
Electron Windows pnpm About 365 words添加依赖
pnpm add -D @electron-forge/maker-wix
开始构建
pnpm run make
可能发生的错误
Could not find light.exe or candle.exe
解决方法
安装light.exe和candle.exe。
安装
注意:Electron 42版本,必须安装3.14.0。
具有管理员权限
choco install wixtoolset --version=3.14.0
没有管理员权限
在GitHub中下载构建好的二进制命令,并配置环境变量。
下载地址:https://github.com/wixtoolset/wix3/releases
参考
Views: 5 · Posted: 2026-11-11
———         Thanks for Reading         ———
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...