Closed tnarik closed 10 months ago
Thank you for giving the utility some love. It has been neglected.
Also for bumping the version.
It all looks reasonable. The repo lacks in tests so let me look it over some more and I'll get back to you.
You have two PRs but this looks to have both. Is there a special intent for both?
Both pull request contain the same code. #64 comes from the branch I used in my fork, and this one from the final merged code. I don't usually contribute much to projects and wasn't sure what was the preference here, so that's why I didn't cancel any of them.
Thanks for the tool, @jacobsalmela , I used it in the past with a mix of ad-hoc sqlite3 code when something was not supported, but thought it was a good idea to propose the changes I need and bring it up to date (I'm installing Sonoma macs now :D ).
One note: one of the print
changes (the unrecognised command) would make the Homebrew Formula test fail because I added double quotes to align messages a bit. Something to keep in mind.
Thanks so much, @jacobsalmela . I created a pull request on homebrew-core
to get it officially supported there.
-u
or--user
so that user specific TCC database can be modified.-u
without parameters will attempt modifications of the current user.service
todefault_service
for clarity (as global service is set from arguments).str.format()
and modulo operator (%
) to f-strings./usr/bin/tccutil,
so that there is no clash if using wrapper scripts (such as Homebrew does).