Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sql): Use
auth_value=2
when enabling on macOS 12+
The script was setting auth_value to value `1` when enabling an application/client in the tccutil database. According to #61, on macOS 12.4 and macOS 13.5 the correct value for enabling is `2`. This commit adds a conditional value depending on OS version to use `auth_value=2` on macOS 12.0 and higher. Issue: #61
- Loading branch information