electron-builder.json5 789 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * @see https://www.electron.build/configuration/configuration
  3. */
  4. {
  5. "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
  6. "appId": "YourAppID",
  7. "asar": true,
  8. "directories": {
  9. "output": "release/${version}"
  10. },
  11. "files": [
  12. "dist-electron",
  13. "dist"
  14. ],
  15. "mac": {
  16. "artifactName": "${productName}_${version}.${ext}",
  17. "target": [
  18. "dmg"
  19. ]
  20. },
  21. "win": {
  22. "target": [
  23. {
  24. "target": "nsis",
  25. "arch": [
  26. "x64"
  27. ]
  28. }
  29. ],
  30. "artifactName": "${productName}_${version}.${ext}"
  31. },
  32. "nsis": {
  33. "oneClick": false,
  34. "perMachine": false,
  35. "allowToChangeInstallationDirectory": true,
  36. "deleteAppDataOnUninstall": false
  37. }
  38. }