# HG changeset patch
# User Chris Cannam
# Date 1546606099 0
# Node ID 23be8dccb8555cbdf50a1893b59a091ea2cccf12
# Parent 73fc2e6975e9e8b8a245bfc906ba9a3833b6f9be
Add microphone permission request message for macOS. Thanks to Lucas Thompson for pointing out the problem & solution.
diff -r 73fc2e6975e9 -r 23be8dccb855 deploy/osx/Info.plist
--- a/deploy/osx/Info.plist Fri Jan 04 12:47:39 2019 +0000
+++ b/deploy/osx/Info.plist Fri Jan 04 12:48:19 2019 +0000
@@ -15,6 +15,12 @@
CFBundleShortVersionString
SV_VERSION
+
+ NSMicrophoneUsageDescription
+ Sonic Visualiser needs to use the microphone for recording.
+
NSPrincipalClass
NSApplication
diff -r 73fc2e6975e9 -r 23be8dccb855 deploy/osx/deploy.sh
--- a/deploy/osx/deploy.sh Fri Jan 04 12:47:39 2019 +0000
+++ b/deploy/osx/deploy.sh Fri Jan 04 12:48:19 2019 +0000
@@ -63,6 +63,10 @@
echo "Done: check $source/Contents/Info.plist for sanity please"
echo
+echo "Copying in lproj directories containing InfoPlist.strings translation files."
+cp -r i18n/*.lproj "$source"/Contents/Resources/
+
+echo
echo "Making target tree."
volume="$app"-"$version"
diff -r 73fc2e6975e9 -r 23be8dccb855 i18n/en.lproj/InfoPlist.strings
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/i18n/en.lproj/InfoPlist.strings Fri Jan 04 12:48:19 2019 +0000
@@ -0,0 +1,1 @@
+NSMicrophoneUsageDescription = "Sonic Visualiser needs to use the microphone for recording.";