Files
SecScore/old-ss/electron-builder.yml
T
2026-03-16 20:49:46 +08:00

76 lines
2.3 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}'
- '!**/node_modules/get-intrinsic/**'
- '!**/node_modules/dunder-proto/**'
- '!**/node_modules/call-bind/**'
- '!**/node_modules/define-data-property/**'
- '!**/node_modules/has-property-descriptors/**'
- '!**/node_modules/gopd/**'
asarUnpack:
- resources/**
extraFiles:
- from: themes
to: themes
- from: node_modules/get-intrinsic
to: node_modules/get-intrinsic
- from: node_modules/dunder-proto
to: node_modules/dunder-proto
- from: node_modules/call-bind
to: node_modules/call-bind
- from: node_modules/define-data-property
to: node_modules/define-data-property
- from: node_modules/has-property-descriptors
to: node_modules/has-property-descriptors
- from: node_modules/gopd
to: node_modules/gopd
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/