electron-builder.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. appId: cn.samien.yaoyao.desktop
  2. productName: 夭夭
  3. directories:
  4. output: desktop-release
  5. app: .desktop-build/shell
  6. files:
  7. - '**/*'
  8. extraResources:
  9. - from: .desktop-build
  10. to: runtime
  11. filter:
  12. - server.mjs
  13. - server.mjs.map
  14. - runner.mjs
  15. - runner.mjs.map
  16. - runner-image.mjs
  17. - runner-maintenance.mjs
  18. - computer-image/**/*
  19. - third-party/**/*
  20. - runner-config.mjs
  21. - runner-config.mjs.map
  22. - hermes_worker.py
  23. - guest_proxy.py
  24. - release.json
  25. - build-info.json
  26. - keychain-helper
  27. - ui/**/*
  28. - web-service/**/*
  29. asar: true
  30. npmRebuild: false
  31. mac:
  32. # Keep the independently signed Node runtime byte-identical to its sealed manifest.
  33. signIgnore:
  34. - /web-service/node$
  35. category: public.app-category.productivity
  36. icon: public/icons/icon-512.png
  37. target:
  38. - target: dir
  39. arch: [arm64]
  40. - target: dmg
  41. arch: [arm64]
  42. hardenedRuntime: true
  43. gatekeeperAssess: false
  44. extendInfo:
  45. NSMicrophoneUsageDescription: 夭夭使用麦克风接收语音消息。
  46. dmg:
  47. title: 夭夭 ${version}
  48. artifactName: Yaoyao-${version}-${arch}.${ext}
  49. publish: null