Skip to content

Commit

Permalink
Electron-builder: Remove camera & mic strings on mac
Browse files Browse the repository at this point in the history
Electron-builder has default entries in Info.plist for why it might want
camera and microphone usage (required on macOS 10.15+ for media access).
As we are unlikely to ever want media access, remove those entries instead
so that people are not confused about us possibly wanting unnecessary
permissions.

Signed-off-by: Mark Yen <mark.yen@suse.com>
  • Loading branch information
mook-as committed May 11, 2021
1 parent 4a89550 commit 2d1175c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ mac:
darkModeSupport: true
hardenedRuntime: true
gatekeeperAssess: false
extendInfo:
NSCameraUsageDescription: ~
NSMicrophoneUsageDescription: ~
afterSign: "scripts/notarize.js"
win:
target: nsis
Expand Down

0 comments on commit 2d1175c

Please sign in to comment.