Files
electron-4/electron-builder.yml
2025-08-29 09:35:52 +08:00

56 lines
1.8 KiB
YAML

appId: dzsp_yingjizhihuibeidou_offline_Y_save
productName: 便携式应急指挥电子沙盘系统北斗定位+
directories:
buildResources: build
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}'
asarUnpack:
- resources/**
win:
executableName: 便携式应急指挥电子沙盘系统北斗定位+
icon: build/icons/81.ico
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: 便携式应急指挥电子沙盘系统北斗定位+
uninstallDisplayName: 便携式应急指挥电子沙盘系统北斗定位+
createDesktopShortcut: always
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
# - snap
- deb
maintainer: electronjs.org
category: Utility
icon: build/icons/81.png
desktop: {
"Icon": "/opt/便携式应急指挥电子沙盘系统北斗定位+/icons/81.png"
}
executableArgs: [
"--no-sandbox"
]
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://example.com/auto-updates
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/