builder.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "productName": "智惠映",
  3. "appId": "valimart",
  4. "copyright": "valimart",
  5. "directories": {
  6. "output": "out"
  7. },
  8. "asar": true,
  9. "files": [
  10. "**/*",
  11. "dev-app-update.yml",
  12. "!frontend/",
  13. "!run/",
  14. "!logs/",
  15. "!go/",
  16. "!python/",
  17. "!data/"
  18. ],
  19. "extraResources": {
  20. "from": "build/extraResources/",
  21. "to": "extraResources"
  22. },
  23. "extraFiles": [
  24. {
  25. "from": "build/extraResources/智慧映拍照机辅助工具箱.exe",
  26. "to": "."
  27. }
  28. ],
  29. "nsis": {
  30. "oneClick": false,
  31. "allowElevation": true,
  32. "allowToChangeInstallationDirectory": true,
  33. "installerIcon": "build/icons/icon.ico",
  34. "uninstallerIcon": "build/icons/icon.ico",
  35. "installerHeaderIcon": "build/icons/icon.ico",
  36. "createDesktopShortcut": true,
  37. "createStartMenuShortcut": true,
  38. "shortcutName": "智惠映AI自动拍照机"
  39. },
  40. "publish": [
  41. {
  42. "provider": "generic",
  43. "url": "https://github.com/wallace5303/electron-egg"
  44. }
  45. ],
  46. "mac": {
  47. "icon": "build/icons/icon.icns",
  48. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  49. "darkModeSupport": true,
  50. "hardenedRuntime": false
  51. },
  52. "win": {
  53. "icon": "build/icons/icon.ico",
  54. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  55. "target": [
  56. {
  57. "target": "nsis"
  58. }
  59. ]
  60. },
  61. "linux": {
  62. "icon": "build/icons",
  63. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  64. "target": [
  65. "deb"
  66. ],
  67. "category": "Utility"
  68. }
  69. }