forge.config.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. const path = require('path')
  2. module.exports = {
  3. packagerConfig: {
  4. name: 'Logseq',
  5. icon: './icons/logseq_big_sur.icns',
  6. osxSign: {
  7. identity: 'Developer ID Application: Tiansheng Qin',
  8. 'hardened-runtime': true,
  9. entitlements: 'entitlements.plist',
  10. 'entitlements-inherit': 'entitlements.plist',
  11. 'signature-flags': 'library'
  12. },
  13. osxNotarize: {
  14. appleId: "my-fake-apple-id",
  15. appleIdPassword: "my-fake-apple-id-password",
  16. },
  17. },
  18. makers: [
  19. {
  20. 'name': '@electron-forge/maker-squirrel',
  21. 'config': {
  22. 'name': 'Logseq'
  23. }
  24. },
  25. {
  26. name: '@electron-forge/maker-dmg',
  27. config: {
  28. format: 'ULFO',
  29. icon: './icons/logseq_big_sur.icns',
  30. name: 'Logseq'
  31. }
  32. },
  33. {
  34. name: '@electron-forge/maker-zip',
  35. platforms: ['darwin', 'linux']
  36. },
  37. {
  38. name: 'electron-forge-maker-appimage',
  39. platforms: ['linux']
  40. }
  41. ],
  42. publishers: [
  43. {
  44. name: '@electron-forge/publisher-github',
  45. config: {
  46. repository: {
  47. owner: 'logseq',
  48. name: 'logseq'
  49. },
  50. prerelease: true
  51. }
  52. }
  53. ]
  54. }