The Onyx installer script on 10.14+ apparently pops up a permissions dialogue when it tries to open the status window through AppleScript. It works when allowed but is rather an alarming message to users. Changing the target to System Events doesn't change anything.
One option is to migrate the script to Platypus to handle that, I suppose.
Use Platypus to get around the AppleScript window problem in Mojave and up.
Catalina will be the last release to have certain scripting languages, including Perl, so migrate to a bash script, which will still be supported (either as bash or zsh).
Also: home directory in Catalina is now /System/Volumes/Data/Users/[username]. We might do some checking to see if $HOME is valid, and if not, use some heuristics to find it.
The Onyx installer script on 10.14+ apparently pops up a permissions dialogue when it tries to open the status window through AppleScript. It works when allowed but is rather an alarming message to users. Changing the target to
System Events
doesn't change anything.One option is to migrate the script to Platypus to handle that, I suppose.