Skip to content

Commit 7642e6d

Browse files
authored
Fix microphone access for macOS DMG (#945)
1 parent 9f98496 commit 7642e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/pyinstaller_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ def run_pyinstaller(cmd_list: list, env: list=None):
6262
p = plistlib.load(f)
6363
p["NSHighResolutionCapable"] = True
6464
p["NSRequiresAquaSystemAppearance"] = True
65+
p["NSMicrophoneUsageDescription"] = "URH needs access to your microphone to capture signals via Soundcard."
6566
with open("pyinstaller/urh.app/Contents/Info.plist", "wb") as f:
6667
plistlib.dump(p, f)
6768

68-
6969
else:
7070
for cmd in [urh_cmd, cli_cmd, urh_debug_cmd]:
7171
run_pyinstaller(cmd)

0 commit comments

Comments
 (0)