electron-builder.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. appId: com.local.analysis.app
  2. productName: 数据分析处理工具
  3. directories:
  4. buildResources: build
  5. files:
  6. - '!**/.vscode/*'
  7. - '!src/*'
  8. - '!electron.vite.config.{js,ts,mjs,cjs}'
  9. - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
  10. - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
  11. icon: build/icon.png
  12. asarUnpack:
  13. - resources/**
  14. win:
  15. icon: build/icon.ico
  16. target:
  17. - nsis
  18. executableName: 数据分析处理工具
  19. requestedExecutionLevel: 'requireAdministrator'
  20. nsis:
  21. artifactName: 数据分析处理工具-安装包.${ext}
  22. shortcutName: ${productName}
  23. uninstallDisplayName: 卸载${productName}
  24. createDesktopShortcut: always
  25. mac:
  26. target:
  27. - dmg
  28. extendInfo:
  29. - NSDocumentsFolderUsageDescription: 应用程序请求访问用户的Documents文件夹.
  30. - NSDownloadsFolderUsageDescription: 应用程序请求访问用户的下载文件夹.
  31. notarize: false
  32. dmg:
  33. sign: false
  34. artifactName: 数据分析处理工具-安装包.${ext}
  35. appImage:
  36. artifactName: 数据分析处理工具-安装包.${ext}
  37. electronDownload:
  38. mirror: https://npmmirror.com/mirrors/electron/