Skip to content

Commit

Permalink
Allow micrphone usage from electron
Browse files Browse the repository at this point in the history
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
  • Loading branch information
Srinaath Ravichandran committed May 14, 2020
1 parent 26116a6 commit 381caa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/app/main/package.json
Expand Up @@ -253,7 +253,11 @@
"x64"
]
}
]
],
"extendInfo": {
"NSMicrophoneUsageDescription": "This app requires microphone access to record audio."
},
"entitlements": "./scripts/config/resources/entitlements.plist"
},
"dmg": {
"background": "./scripts/config/resources/background.tiff",
Expand Down
2 changes: 2 additions & 0 deletions packages/app/main/scripts/config/resources/entitlements.plist
Expand Up @@ -10,5 +10,7 @@
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>

0 comments on commit 381caa6

Please sign in to comment.