Skip to content

Commit 5aff5bc

Browse files
committed
Grant Bluetooth permission to more services
1 parent 7a9f918 commit 5aff5bc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,14 @@ jobs:
222222
- { qt: '6.8.0', cc: gcc }
223223
steps:
224224
- run: sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' '.schema'
225-
- run: >
226-
sudo sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' "INSERT or REPLACE INTO
227-
access ( service, client, client_type, auth_value, auth_reason, auth_version )
228-
VALUES ( 'kTCCServiceBluetoothAlways', '/bin/bash', 1, 2, 0, 1 )"
225+
- if: matrix.os != 'macos-13'
226+
run: >
227+
sudo sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' "INSERT or REPLACE INTO access
228+
( service, client, client_type, auth_value, auth_reason, auth_version, flags ) VALUES
229+
( 'kTCCServiceBluetoothAlways', 'com.apple.Terminal', 0, 0, 4, 1, 0),
230+
( 'kTCCServiceBluetoothAlways', '/bin/bash', 1, 2, 0, 1, 0 ),
231+
( 'kTCCServiceBluetoothAlways', '/usr/local/opt/runner/runprovisioner.sh', 1, 2, 0, 1, 0 ),
232+
( 'kTCCServiceBluetoothAlways', '/usr/local/opt/runner/provisioner/provisioner', 1, 2, 4, 1, 0)"
229233
- run: sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' 'select * from access'
230234
- uses: actions/checkout@v4
231235
- name: Install lcov

0 commit comments

Comments
 (0)