summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-06-15 15:22:26 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-06-15 15:40:56 +0200
commitbe264da3e24d18f835d9ba212bf51ac759ce7206 (patch)
treeac8c2adc9b846f877a07740fb5396249fd7b3e84
parentf229f70443597084e26cc17296ad55e9042b42ea (diff)
downloadqutebrowser-be264da3e24d18f835d9ba212bf51ac759ce7206.tar.gz
qutebrowser-be264da3e24d18f835d9ba212bf51ac759ce7206.zip
scripts: Add bluetooth permission for macOS
Apple documentation claims this is for iOS/watchOS/tvOS only: https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription However, reality tells a different story - according to Console.app, when visiting accounts.google.com, qutebrowser/Chromium needs this permission. Reproducible as well using the following demo page: https://googlechrome.github.io/samples/web-bluetooth/battery-level.html Finally, Google Chrome has the key declared as well. Note that it has NSBluetoothPeripheralUsageDescription as well: https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothperipheralusagedescription ...but that is deprecated, and according to my tests on macOS 10.14 and 10.15, it's not needed. Thanks to Apple for their wonderful documentation.... not. Fixes #6475, hopefully for real this time.
-rwxr-xr-xscripts/dev/build_release.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index 2ca97de11..a1c6646eb 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -285,6 +285,8 @@ INFO_PLIST_UPDATES = {
'A website in qutebrowser wants to use your location information.',
'NSMicrophoneUsageDescription':
'A website in qutebrowser wants to use your microphone.',
+ 'NSBluetoothAlwaysUsageDescription':
+ 'A website in qutebrowser wants to access Bluetooth.',
}