prashantgupta24 / automatic-mouse-mover

a minimalistic go library/app to keep your mac active and alive
MIT License
305 stars 34 forks source link

Issue with Privacy and Security #60

Closed jeremyfranklin closed 2 months ago

jeremyfranklin commented 3 months ago

Anyone having issues with privacy and security accessibility settings. It says it is allowed in the Privacy and Security settings, but I keep get warnings like it is not and then it won't run. I am on Sonoma 14.5.

prashantgupta24 commented 3 months ago

I'm on Sonoma 14.5 too, I don't see this problem. Are you sure you quit the app and restart it after granting permissions? Also worth trying a full restart? Apologies for dumb suggestions but can't really think of anything else...

danielrichter78 commented 3 months ago

I am on Sonoma 14.6 and i have the same problem, on every app start the dialog come: Bildschirmfoto 2024-08-07 um 07 22 33

Version 1.2 is ok with Sonoma 14.6

danielrichter78 commented 2 months ago

I'm on Sonoma 14.5 too, I don't see this problem. Are you sure you quit the app and restart it after granting permissions? Also worth trying a full restart? Apologies for dumb suggestions but can't really think of anything else...

a full restart does not help ... only the version 1.2 works

danielrichter78 commented 2 months ago

When i delete the app in the privacy settings, then i open the amm.app again and activate it in the settings, then the problem is gone. Tested with 14.6.1

But today the app is open but 10 minutes later the app is closed and the client goes to sleep ... is there a log for amm.app?

prashantgupta24 commented 2 months ago

When i delete the app in the privacy settings, then i open the amm.app again and activate it in the settings, then the problem is gone. Tested with 14.6.1

Alright, looks like we have a solution! Going to close this for now.

@danielrichter78 I have rarely seen the app crash but it's certainly possible that's what happened. You can try to find more information in system logs, otherwise you can try to run it via script if it happens frequently as mentioned here: https://github.com/prashantgupta24/automatic-mouse-mover/issues/47#issuecomment-1747308387

danielrichter78 commented 2 months ago

When i delete the app in the privacy settings, then i open the amm.app again and activate it in the settings, then the problem is gone. Tested with 14.6.1

Alright, looks like we have a solution! Going to close this for now.

@danielrichter78 I have rarely seen the app crash but it's certainly possible that's what happened. You can try to find more information in system logs, otherwise you can try to run it via script if it happens frequently as mentioned here: #47 (comment)

Do you have an argument to start in terminal with logs? Perhaps like for Google Chrome:

Alternatively if your application has debug or verbosity flags, you can pass the flag to your application using open --args. For example, Google Chrome has the flags --enable-logging --v=1 to turn on debugging and save the output to chrome_debug.log in the Chrome user data directory. You can launch Google Chrome with the following options

open -a "Google Chrome" --args --enable-logging --v=1