LaiTool_PRO/electron-builder.yml

47 lines
1.4 KiB
YAML
Raw Normal View History

2025-09-04 16:58:42 +08:00
appId: com.laitool.pro
productName: "来推 Pro"
2025-08-19 14:33:59 +08:00
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.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:
2025-09-04 16:58:42 +08:00
executableName: "来推 Pro"
2025-08-19 14:33:59 +08:00
nsis:
oneClick: false
2025-09-04 16:58:42 +08:00
artifactName: "来推Pro-${version}-setup.${ext}"
shortcutName: "来推 Pro"
uninstallDisplayName: "来推 Pro"
2025-08-19 14:33:59 +08:00
createDesktopShortcut: always
allowToChangeInstallationDirectory: true
createStartMenuShortcut: 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
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://example.com/auto-updates