Sadly, this does not work for everything, as users can't always override the notarization requirement that was introduced in Catalina. I had the issue with Aerial, it's a screensaver which, technically, is a plugin and not an application. As such, the user will never get prompted for anything (and I'm putting aside the compounding effect/slight madness that screensavers are now a plugin to an appex to two different applications with different permissions set ! Oh Catalina...).
The only solution was to sign/notarize it, and I have to admit it took me more than a few days to figure it out, as finding exactly what works for distributing a plugin was not documented. And this is just to distribute a usable plugin on GitHub !