Skip to content

Commit

Permalink
Grant Bluetooth permission to more services
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Oct 13, 2024
1 parent 7a9f918 commit 5aff5bc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,14 @@ jobs:
- { qt: '6.8.0', cc: gcc }
steps:
- run: sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' '.schema'
- run: >
sudo sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' "INSERT or REPLACE INTO
access ( service, client, client_type, auth_value, auth_reason, auth_version )
VALUES ( 'kTCCServiceBluetoothAlways', '/bin/bash', 1, 2, 0, 1 )"
- if: matrix.os != 'macos-13'
run: >
sudo sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' "INSERT or REPLACE INTO access
( service, client, client_type, auth_value, auth_reason, auth_version, flags ) VALUES
( 'kTCCServiceBluetoothAlways', 'com.apple.Terminal', 0, 0, 4, 1, 0),
( 'kTCCServiceBluetoothAlways', '/bin/bash', 1, 2, 0, 1, 0 ),
( 'kTCCServiceBluetoothAlways', '/usr/local/opt/runner/runprovisioner.sh', 1, 2, 0, 1, 0 ),
( 'kTCCServiceBluetoothAlways', '/usr/local/opt/runner/provisioner/provisioner', 1, 2, 4, 1, 0)"
- run: sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' 'select * from access'
- uses: actions/checkout@v4
- name: Install lcov
Expand Down

0 comments on commit 5aff5bc

Please sign in to comment.