electron-builder.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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": ["x64"]
  23. }
  24. ],
  25. "icon": "build/icon.png",
  26. "artifactName": "${productName}-${version}-${arch}.${ext}"
  27. },
  28. "nsis": {
  29. "oneClick": false,
  30. "allowToChangeInstallationDirectory": true,
  31. "createDesktopShortcut": true,
  32. "createStartMenuShortcut": true,
  33. "shortcutName": "媒体管理系统"
  34. },
  35. "mac": {
  36. "target": ["dmg"],
  37. "icon": "build/icon.png",
  38. "artifactName": "${productName}-${version}.${ext}"
  39. },
  40. "linux": {
  41. "target": ["AppImage"],
  42. "icon": "build/icon.png",
  43. "artifactName": "${productName}-${version}.${ext}"
  44. }
  45. }