Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not prompt when run out of cron #111

Open
dougpagani opened this issue May 13, 2021 · 0 comments
Open

Does not prompt when run out of cron #111

dougpagani opened this issue May 13, 2021 · 0 comments

Comments

@dougpagani
Copy link

If I run this out of a terminal emulator, I get the prompt as expected, and it is able to grab the info. But, once I try & execute it out of a cronjob, it fails. I know this has to do with macos's tcc component of SIP, but my familiarity stops there.

This is the error I get:

Error:
  cmd: '/Users/dougpa/my-package/active-win/main',
  stdout: 'active-win requires the screen recording permission in “System Preferences › Security & Privacy › Privacy › Screen Recording”.\n',
}

However, in the preferences pane, there is no such permission request. The option to add it is also lacking.
i.e.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant