-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adddd support for modification of TCC.db in user space.
* Added support for `-u` or `--user` so that user specific TCC database can be modified. * `-u` without parameters will attempt modifications of the current user. * Username is checked and, if not existing in the system, raised as an error with a hint. * Renamed service to default_service for clarity (as `global service` is set from arguments). * Normalised all help strings to NOT end in ".", matching the default `-h` string format. * Moved from `str.format()` and modulo operator (`%`) to f-strings. * Error output now goes to stderr. * Fixed behaviour for ACTION = reset, by ALLOWING unknown arguments to be passthrough. * Fixed behaviour for ACTION = reset, by using the absolute path to /usr/bin/tccutil, so that there is no clash if using wrapper scripts (such as Homebrew does). * Updated README.md information
- Loading branch information
1 parent
e7f12b5
commit 57bf5db
Showing
2 changed files
with
95 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters