Folo/electron-builder.yml

66 lines
2.1 KiB
YAML

appId: io.follow
productName: Follow
directories:
buildResources: build
files:
# - "**/*"
# - "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}"
# - "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}"
# - "!**/node_modules/*.d.ts"
# - "!**/node_modules/.bin"
# - "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}"
# - "!.editorconfig"
# - "!**/._*"
# - "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}"
# - "!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}"
# - "!**/{appveyor.yml,.travis.yml,circle.yml}"
# - "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
# - "!**/.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}"
- "out"
- "resources"
- "!node_modules"
- "node_modules/font-list/**/*"
asarUnpack:
- resources/**
win:
executableName: follow
nsis:
artifactName: ${name}-${version}-setup.${ext}
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
icon: resources/icon.icns
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
protocols:
name: Follow
schemes:
- follow
- feed