Automatically add microphone entry to Info.plist

pull/42/head
Mark Jessop 2024-04-01 14:01:13 +10:30
rodzic b0bb51cf2a
commit 55188fcca1
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -4,7 +4,7 @@ block_cipher = None
a = Analysis(['horus-gui.py'],
pathex=['/Users/darkside/Dev/horus-gui'],
pathex=['.'],
binaries=[('../horusdemodlib/build/src/libhorus.dylib','.')],
datas=[],
hiddenimports=[],
@ -38,4 +38,8 @@ coll = COLLECT(exe,
app = BUNDLE(coll,
name='horus-gui.app',
icon='doc/horus_logo.icns',
bundle_identifier=None)
bundle_identifier=None,
info_plist={
'NSMicrophoneUsageDescription': 'Horus-GUI needs audio access to receive telemetry.'
},
)