Skip to content

Commit 064a94f

Browse files
authored
Remove unused NS*UsageDescription keys from Info.plist (#8709)
1 parent 917cecb commit 064a94f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

_scripts/ebuilder.config.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,15 @@ export default {
8484
],
8585
CFBundleURLSchemes: [
8686
'freetube'
87-
]
87+
],
88+
89+
// Clear the default usage descriptions in the Info.plist file set by Electron that we don't need
90+
// see: https://github.com/electron/electron/blob/main/shell/browser/resources/mac/Info.plist
91+
NSAudioCaptureUsageDescription: undefined,
92+
NSBluetoothAlwaysUsageDescription: undefined,
93+
NSBluetoothPeripheralUsageDescription: undefined,
94+
NSCameraUsageDescription: undefined,
95+
NSMicrophoneUsageDescription: undefined,
8896
}
8997
},
9098
win: {

0 commit comments

Comments
 (0)