forge.config.js 949 B

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