electron-builder.json5 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * @see https://www.electron.build/configuration/configuration
  3. */
  4. {
  5. appId: "io.openim.desktop.demo",
  6. asar: true,
  7. extends: null,
  8. directories: {
  9. output: "release/Demo/${version}",
  10. },
  11. files: ["dist-electron", "dist"],
  12. productName: "OpenIM-Demo",
  13. mac: {
  14. artifactName: "${productName}_${version}_${arch}.${ext}",
  15. target: ["dmg"],
  16. icon: "./dist/icons/mac_icon.png",
  17. },
  18. win: {
  19. target: [
  20. {
  21. target: "nsis",
  22. arch: ["x64"],
  23. },
  24. ],
  25. artifactName: "${productName}_${version}.${ext}",
  26. icon: "./dist/icons/icon.ico",
  27. },
  28. linux: {
  29. icon: "./dist/icons/icon.png",
  30. target: "deb",
  31. maintainer: "openim-demo",
  32. artifactName: "${productName}_${version}_${arch}.${ext}",
  33. },
  34. nsis: {
  35. oneClick: false,
  36. perMachine: true,
  37. allowElevation: true,
  38. allowToChangeInstallationDirectory: true,
  39. createDesktopShortcut: true,
  40. createStartMenuShortcut: true,
  41. deleteAppDataOnUninstall: true,
  42. shortcutName: "OpenIM-Demo",
  43. },
  44. }