> On Aug 25, 2021, at 8:40 AM, Alan Snyder <javali...@cbfiddle.com> wrote:
> 
> 
> 
>> On Aug 24, 2021, at 6:52 AM, Andy Herrick <andy.herr...@oracle.com> wrote:
>> 
>> One final thing to note, MacOS keeps track of what you have ever previously 
>> granted microphone permission to (and will never ask again) based on the mac 
>> package identifier (which defaults to the main class name), so I explicitly 
>> set this using a shell script with jpackage option "--mac-package-identifier 
>> audio-$1" option, so I can pass in different values and create a unique one 
>> each time.
> 
> I’ve been wondering what you mean here.
> 
> Are you saying that you routinely generate random package identifiers or is 
> this a workaround that you use in special circumstances?
> 
>  Alan
> 

I believe the permission is granted to a bundle idenditifer. I think tccutil 
can be used to reset

https://apple.stackexchange.com/questions/384317/how-do-i-reset-camera-and-microphone-permission-on-macos-mojave
 
<https://apple.stackexchange.com/questions/384317/how-do-i-reset-camera-and-microphone-permission-on-macos-mojave>


Reply via email to