jasonjmcghee / plock

From anywhere you can type, query and stream the output of an LLM or any other script
MIT License
473 stars 31 forks source link

Shortcuts are ignored except when running from command line #9

Closed nuaimat closed 10 months ago

nuaimat commented 10 months ago

Hello,

Thank you so much for this amazing code, I am on an m1 mac, running macOs sonoma 14.2.1 i faced two issues i will focus on the first issue here:

installed the plock binaries, and the same issue below appeared, then uninstall the binaries and checked out the code and compile it locally producing the dmg file, when it opens i dragged dropped the plock binary into the applications folder shortcut

command line output:


tried to trigger
preparing to copy text...
Context: tell me a joke
tried to trigger```

I am happy to provide any other details required 
jasonjmcghee commented 10 months ago

I rewrote a bunch of stuff. Can you try removing accessibility permissions (input monitoring etc) from plock and getting latest and regranting it?

nuaimat commented 10 months ago

yup works for me now. thanks.