builder.json 1.4 KB

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