Disable the master and then you enable “anywhere” in Security & Privacy.
sudo spctl --master-disable
Regenerate the signatures for this application.
sudo codesign --sign - --force --deep /your/application-path.app
Disable the master and then you enable “anywhere” in Security & Privacy.
sudo spctl --master-disable
Regenerate the signatures for this application.
sudo codesign --sign - --force --deep /your/application-path.app