builder.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. "perMachine": true,
  32. "allowElevation": true,
  33. "allowToChangeInstallationDirectory": true,
  34. "installerIcon": "build/icons/icon.ico",
  35. "uninstallerIcon": "build/icons/icon.ico",
  36. "installerHeaderIcon": "build/icons/icon.ico",
  37. "createDesktopShortcut": true,
  38. "createStartMenuShortcut": true,
  39. "shortcutName": "智惠映AI自动拍照机"
  40. },
  41. "publish": [
  42. {
  43. "provider": "generic",
  44. "url": "https://github.com/wallace5303/electron-egg"
  45. }
  46. ],
  47. "mac": {
  48. "icon": "build/icons/icon.icns",
  49. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  50. "darkModeSupport": true,
  51. "hardenedRuntime": false
  52. },
  53. "win": {
  54. "icon": "build/icons/icon.ico",
  55. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  56. "target": [
  57. {
  58. "target": "nsis"
  59. }
  60. ]
  61. },
  62. "linux": {
  63. "icon": "build/icons",
  64. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  65. "target": [
  66. "deb"
  67. ],
  68. "category": "Utility"
  69. }
  70. }