builder.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. "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. "deleteAppDataOnUninstall": false,
  40. "include": "build/script/installer.nsh",
  41. "language": "1033"
  42. },
  43. "publish": [
  44. {
  45. "provider": "generic",
  46. "url": "https://github.com/wallace5303/electron-egg"
  47. }
  48. ],
  49. "mac": {
  50. "icon": "build/icons/icon.icns",
  51. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  52. "darkModeSupport": true,
  53. "hardenedRuntime": false
  54. },
  55. "win": {
  56. "icon": "build/icons/icon.ico",
  57. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  58. "target": [
  59. {
  60. "target": "nsis"
  61. }
  62. ]
  63. },
  64. "linux": {
  65. "icon": "build/icons",
  66. "artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
  67. "target": [
  68. "deb"
  69. ],
  70. "category": "Utility"
  71. }
  72. }