You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.8 KiB

  1. {
  2. "appId": "net.mayswind.ariang",
  3. "productName": "AriaNg Native",
  4. "copyright": "Copyright (c) 2017-2022 MaysWind (i@mayswind.net)",
  5. "artifactName": "AriaNg_Native-${version}-Windows-x64.${ext}",
  6. "files": [
  7. "!build.json",
  8. "!node_modules",
  9. {
  10. "from": "dist",
  11. "to": "",
  12. "filter": [
  13. "build.json"
  14. ]
  15. },
  16. {
  17. "from": "dist/node_modules",
  18. "to": "node_modules",
  19. "filter": [
  20. "**/*.js",
  21. "**/*.cjs",
  22. "**/*.json",
  23. "**/*.css",
  24. "**/*.woff",
  25. "**/*.woff2",
  26. "**/*.svg",
  27. "**/*.eot",
  28. "**/*.ttf"
  29. ]
  30. },
  31. "app/**",
  32. "assets/**",
  33. "main/**",
  34. "package.json"
  35. ],
  36. "win": {
  37. "icon": "assets/AriaNg.ico",
  38. "target": [
  39. {
  40. "target": "nsis",
  41. "arch": [
  42. "x64"
  43. ]
  44. },
  45. {
  46. "target": "7z",
  47. "arch": [
  48. "x64"
  49. ]
  50. }
  51. ],
  52. "fileAssociations": [
  53. {
  54. "ext": [
  55. "torrent"
  56. ],
  57. "description": "Bittorrent File",
  58. "icon": "assets/AriaNg_Torrent.ico"
  59. },
  60. {
  61. "ext": [
  62. "metalink",
  63. "meta4"
  64. ],
  65. "description": "Metadata File",
  66. "icon": "assets/AriaNg_Metalink.ico"
  67. }
  68. ]
  69. },
  70. "nsis": {
  71. "oneClick": false,
  72. "perMachine": true,
  73. "allowToChangeInstallationDirectory": true
  74. }
  75. }