electron-builder.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
  3. "appId": "com.mediamanager.app",
  4. "productName": "智媒通",
  5. "directories": {
  6. "output": "release"
  7. },
  8. "files": [
  9. "dist/**/*",
  10. "dist-electron/**/*"
  11. ],
  12. "extraResources": [
  13. {
  14. "from": "public/icons",
  15. "to": "icons"
  16. }
  17. ],
  18. "win": {
  19. "target": [
  20. {
  21. "target": "nsis",
  22. "arch": [
  23. "x64"
  24. ]
  25. }
  26. ],
  27. "icon": "build/icon.png",
  28. "artifactName": "${productName}-${version}-${arch}.${ext}"
  29. },
  30. "nsis": {
  31. "oneClick": false,
  32. "allowToChangeInstallationDirectory": true,
  33. "createDesktopShortcut": true,
  34. "createStartMenuShortcut": true,
  35. "shortcutName": "智媒通"
  36. },
  37. "mac": {
  38. "target": [
  39. "dmg"
  40. ],
  41. "icon": "build/icon.png",
  42. "artifactName": "${productName}-${version}.${ext}"
  43. },
  44. "linux": {
  45. "target": [
  46. "AppImage"
  47. ],
  48. "icon": "build/icon.png",
  49. "artifactName": "${productName}-${version}.${ext}"
  50. }
  51. }