electron-builder.json 978 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. "win": {
  13. "target": [
  14. {
  15. "target": "nsis",
  16. "arch": ["x64"]
  17. }
  18. ],
  19. "icon": "build/icon.ico",
  20. "artifactName": "${productName}-${version}-${arch}.${ext}"
  21. },
  22. "nsis": {
  23. "oneClick": false,
  24. "allowToChangeInstallationDirectory": true,
  25. "createDesktopShortcut": true,
  26. "createStartMenuShortcut": true,
  27. "shortcutName": "媒体管理系统"
  28. },
  29. "mac": {
  30. "target": ["dmg"],
  31. "icon": "build/icon.icns",
  32. "artifactName": "${productName}-${version}.${ext}"
  33. },
  34. "linux": {
  35. "target": ["AppImage"],
  36. "icon": "build/icon.png",
  37. "artifactName": "${productName}-${version}.${ext}"
  38. }
  39. }