AIx_Smarttalk/electron-builder-yc.yml

55 lines
1.6 KiB
YAML
Raw Normal View History

2024-09-22 14:27:48 +08:00
appId: com.electron.app
2024-12-05 14:07:12 +08:00
productName: 文枢课堂
2024-09-22 14:27:48 +08:00
directories:
output: dist
buildResources: build
win:
2024-12-05 14:07:12 +08:00
executableName: 文枢课堂
2024-09-22 14:27:48 +08:00
icon: resources/logo2.ico
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}'
asarUnpack:
- resources/**
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
2024-12-05 14:07:12 +08:00
artifactName: ${name}-yc-${version}-setup.${ext}
2024-09-22 14:27:48 +08:00
shortcutName: ${productName}
uninstallDisplayName: ${productName}
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:
2024-12-05 14:07:12 +08:00
artifactName: ${name}-yc-${version}.${ext}
2024-09-22 14:27:48 +08:00
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
2024-12-05 14:07:12 +08:00
artifactName: ${name}-yc-${version}.${ext}
2024-09-22 14:27:48 +08:00
npmRebuild: false
publish:
provider: generic
2024-12-05 14:07:12 +08:00
url: https://prev.ysaix.com:7868/src/assets/smarttalkyc/
2024-09-22 14:27:48 +08:00
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/
# 额外依赖打包到输出目录
extraFiles:
- from: ./node_modules/im_electron_sdk/lib/
to: ./resources
filter:
- '**/*'