Skip to content

Commit

Permalink
🔧 build: 支持 Mac Inter 部署 #203
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Jul 8, 2024
1 parent 9423d2b commit d20512e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,20 @@ 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.
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.
# 是否启用应用程序的 Notarization(苹果的安全审核)
notarize: false
darkModeSupport: true
category: public.app-category.music
target:
- dmg
- zip
arch:
- x64
- arm64
# macOS 平台的 DMG 配置
dmg:
# DMG 文件的生成名称
Expand Down

0 comments on commit d20512e

Please sign in to comment.