EPIC - Improve package installation UX
The "normal" place to install plugins on mac is /Library/Audio/Plug-Ins. However, writing to this dir requires root access and owlplug of course does not run as root by default. If a user selects these dirs, owlplug should warn them that they need to launch owlplug as root to install plugins or to suggest the user dir for plugin installs. Maybe an additional "install dirs" option should be provided that defaults to the user lib dir.
For packages that don't come with an installer, owlplug could provide its own installer that runs in a process as root so it can write to those dirs. Kicking it off could be tricky though. It might require a dedicated service running in the background or something like that. Not sure. At the very least, maybe it should check if it has permission to the target dir before it tries to write to it and suggest ~/Library/Audio/Plug-Ins instead.
Also from a UX perspective, it's very unclear what the user is supposed to do to install packages. You click "install" and it opens a directory selector defaulting to the "VST" dir. But it's not clear what it wants. Am I selecting a place to put a VST plugin? VST3? AU? Does it want the root plugin dir and it will put them in the correct place? Why does it ask for a directory at all instead of just using the ones configured in options? Some have a "bundle" install option in addition. What's that?
Not to pile on, but one last thing. The dir selector that opens when selecting to install a package is also a little lacking because you can't find ~/Library. It's a hidden directory. So even if the user wanted to select that, it wouldn't be possible from there.
edit: I'm realizing, this will cause problems elsewhere in the app. Ex. disabling a plugin renames it. That won't be possible for plugins in the /Library/Audio/Plug-Ins dir.