I have a
.sleep script that I launch with sleepwatcher everytime my MacBook Pro goes to sleep (by closing the lid).
On Mojave, everything worked fine. Now on Catalina (10.15.5), every time I boot :
I have the message "can't open sleepwatcher because it's from an unidentified developer" popping up over and over again. I have to go to System -> Security -> Open Anyway in order to stop the message. (Thanks to @Allan, I managed to get sleepwatcher out of the quarantine flag).
to get my script back in order, I have to relaunch the
.sleepmanually via the command line
/usr/local/sbin/sleepwatcher --verbose --sleep ~/.sleep.
How can I make my Mac remember sleepwatcher & my
.sleep setting like old times ?