forge.config.js 884 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. const path = require('path')
  2. module.exports = {
  3. packagerConfig: {
  4. icon: './icons/canary/logseq_big_sur.icns',
  5. },
  6. makers: [
  7. {
  8. 'name': '@electron-forge/maker-squirrel',
  9. 'config': {
  10. 'name': 'Logseq Canary',
  11. 'setupIcon': './icons/canary/logseq.ico'
  12. }
  13. },
  14. {
  15. name: '@electron-forge/maker-dmg',
  16. config: {
  17. format: 'ULFO',
  18. icon: './icons/canary/logseq_big_sur.icns',
  19. name: 'Logseq Canary'
  20. }
  21. },
  22. {
  23. name: '@electron-forge/maker-zip',
  24. platforms: ['darwin', 'linux']
  25. },
  26. {
  27. name: 'electron-forge-maker-appimage',
  28. platforms: ['linux']
  29. }
  30. ],
  31. publishers: [
  32. {
  33. name: '@electron-forge/publisher-github',
  34. config: {
  35. repository: {
  36. owner: 'logseq',
  37. name: 'logseq'
  38. },
  39. prerelease: true
  40. }
  41. }
  42. ]
  43. }