have MacOS application with no UI which is intended to be running all the time. Right now it is an .app which is controlled by script to start it again in case it gets killed.
My question is, should I implement daemon instead?
Also the application needs to take screenshots. In MacOS Catalina I need to give special permissions to allow that. Since it does not have UI I don't see any popup asking for permission. How can I display the popup? Should I force the display programatically?
Thanks in advance