electron-builder.yaml 619 B

123456789101112131415161718192021222324
  1. appId: 'com.jeecg.boot3'
  2. # 产品名称
  3. productName: 'jeecgboot'
  4. files:
  5. # 仅包含 dist 目录下所有文件
  6. - 'dist/**/*'
  7. # 特别排除 node_modules 目录
  8. - '!node_modules'
  9. directories:
  10. # 输出目录
  11. output: 'dist-electron'
  12. win:
  13. # win exe 程序图标
  14. icon: 'electron/icons/app.ico'
  15. artifactName: 'jeecgboot-setup-${version}.exe'
  16. # 安装包配置
  17. nsis:
  18. oneClick: false
  19. # 是否允许用户选择安装目录
  20. allowToChangeInstallationDirectory: true
  21. # 是否创建桌面快捷方式
  22. createDesktopShortcut: true
  23. # 安装程序的图标
  24. installerIcon: 'electron/icons/installer.ico'