forge.config.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. 'loadingGif': './icons/installing.gif'
  24. }
  25. },
  26. {
  27. name: '@electron-forge/maker-dmg',
  28. config: {
  29. format: 'ULFO',
  30. icon: './icons/logseq_big_sur.icns',
  31. name: 'Logseq'
  32. }
  33. },
  34. {
  35. name: '@electron-forge/maker-zip',
  36. platforms: ['darwin', 'linux']
  37. },
  38. {
  39. name: 'electron-forge-maker-appimage',
  40. platforms: ['linux']
  41. }
  42. ],
  43. publishers: [
  44. {
  45. name: '@electron-forge/publisher-github',
  46. config: {
  47. repository: {
  48. owner: 'logseq',
  49. name: 'logseq'
  50. },
  51. prerelease: true
  52. }
  53. }
  54. ]
  55. }