electron-builder.json5 993 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // @see - https://www.electron.build/configuration/configuration
  2. {
  3. "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
  4. "appId": "MinnanDemo",
  5. "asar": true,
  6. "productName": "演示程序",
  7. "icon": "public/icon.ico",
  8. "directories": {
  9. "output": "release/${version}"
  10. },
  11. "files": [
  12. "dist",
  13. "dist-electron"
  14. ],
  15. "mac": {
  16. "target": [
  17. "dmg"
  18. ],
  19. "artifactName": "${productName}-Mac-${version}-Installer.${ext}"
  20. },
  21. "win": {
  22. "target": [
  23. {
  24. "target": "nsis",
  25. "arch": [
  26. "x64"
  27. ]
  28. }
  29. ],
  30. "artifactName": "${productName}-Windows-${version}-Setup.${ext}"
  31. },
  32. "nsis": {
  33. "oneClick": false,
  34. "perMachine": false,
  35. "allowToChangeInstallationDirectory": true,
  36. "deleteAppDataOnUninstall": false
  37. },
  38. "linux": {
  39. "target": [
  40. "AppImage"
  41. ],
  42. "artifactName": "${productName}-Linux-${version}.${ext}"
  43. }
  44. }