Commit cf3e7b3
committed
fix: add audio-input entitlement for microphone access in packaged app
Root cause: Hardened Runtime blocks microphone access without explicit
com.apple.security.device.audio-input entitlement. The app never appeared
in macOS Microphone privacy list because the OS silently denied the request.
- Added build/entitlements.mac.plist with audio-input entitlement
- Configured electron-builder to use entitlements for both main and child processes
- Improved mic permission flow: opens System Settings when previously denied1 parent 4536a9e commit cf3e7b3
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments