Files
SecScore/electron-builder.yml
T
Fox_block 279443e3ca
2026-03-11 20:41:29 +08:00

80 lines
2.4 KiB
YAML

appId: com.secscore.app
productName: SecScore
directories:
buildResources: build
protocols:
- name: SecScore URL Protocol
schemes:
- secscore
role: Viewer
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
- from: node_modules/math-intrinsics
to: node_modules/math-intrinsics
- from: node_modules/get-intrinsic
to: node_modules/get-intrinsic
- from: node_modules/call-bind
to: node_modules/call-bind
- from: node_modules/call-bound
to: node_modules/call-bound
- from: node_modules/es-define-property
to: node_modules/es-define-property
- from: node_modules/es-errors
to: node_modules/es-errors
- from: node_modules/function-bind
to: node_modules/function-bind
- from: node_modules/has-proto
to: node_modules/has-proto
- from: node_modules/has-symbols
to: node_modules/has-symbols
- from: node_modules/hasown
to: node_modules/hasown
- from: node_modules/set-function-length
to: node_modules/set-function-length
asarUnpack:
- resources/**
afterPack: ./scripts/afterPack.cjs
extraFiles:
- from: themes
to: themes
extraResources:
- from: resources
to: assets
win:
target:
- zip
executableName: SecScore
icon: resources/SecScore_logo.ico
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
allowToChangeInstallationDirectory: true
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/