Files
frost-mqtt-client/app/electron-builder.yml
2026-07-19 18:48:00 +08:00

51 lines
1.6 KiB
YAML

appId: top.frost-zx.frost-mqtt-client
productName: Frost MQTT Client
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}'
asarUnpack:
- resources/**
win:
executableName: frost-mqtt-client
nsis:
allowToChangeInstallationDirectory: true
artifactName: ${name}-${version}-Windows-${arch}-Setup.${ext}
createDesktopShortcut: always
createStartMenuShortcut: true
oneClick: false
perMachine: false
runAfterFinish: false
shortcutName: ${productName}
uninstallDisplayName: ${productName}
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}-macOS-${arch}.${ext}
linux:
category: Utility
artifactName: ${name}-${version}-Linux-${arch}.${ext}
maintainer: frost-zx.github.io
target:
# - AppImage
# - snap
- deb
appImage:
artifactName: ${name}-${version}-Linux-${arch}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://example.com/auto-updates
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/