Browse Source

Set NSMicrophoneUsageDescription on qjackctl Info.plist

master
falkTX 2 months ago
parent
commit
99cb44757c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      pack-jack2.sh

+ 2
- 0
pack-jack2.sh View File

@@ -109,6 +109,8 @@ elif [ "${MACOS}" -eq 1 ]; then
sed -i -e 's|com.yourcompany.qjackctl|org.rncbc.QjackCtl|' "${qjackctl_app}/Contents/Info.plist"
sed -i -e 's|string>qjackctl</string>|string>QjackCtl</string>|' "${qjackctl_app}/Contents/Info.plist"
sed -i -e 's|<string></string>|<string>QjackCtl.icns</string>|' "${qjackctl_app}/Contents/Info.plist"
sed -i -e 's|NOTE|NSMicrophoneUsageDescription|' "${qjackctl_app}/Contents/Info.plist"
sed -i -e 's|This file was generated by Qt/QMake.|JACK requires microphone permissions for audio input.|' "${qjackctl_app}/Contents/Info.plist"
rm "${qjackctl_app}/Contents/Info.plist-e"
mv "${qjackctl_app}/Contents/MacOS/qjackctl" "${qjackctl_app}/Contents/MacOS/QjackCtl"



Loading…
Cancel
Save