Write to the general library folder
-
@Oli-Ullmann This is the code I'm using, looks like I'm installing to the user directory
https://codeberg.org/LibreWave/Rhapsody/src/branch/main/Scripts/Plugins.js#L128
-
@d-healey
Yes, you do. But I don't want to use that for the installer, because I think there are DAWs that don't search for plug-ins in the user VST / Component folder. That's why I need the option to write to the general VST3 folder. Hence the feature request. Because then, as I said, you can completely do without packages or the like. -
@Oli-Ullmann said in Write to the general library folder:
I think there are DAWs that don't search for plug-ins in the user VST folder.
They should, it's part of the Steinberg spec, and the user should be able to redirect it.
@Oli-Ullmann said in Write to the general library folder:
Hence the feature request.
I think it's a limitation created by Mac's gatekeeping rather than something on the HISE side. It might be there is a custom plist option you can add to your binaries that will allow access. If you find such a thing let me know and I might be able to add it as a checkbox option in HISE preferences like I did for Windows.
-
@d-healey
Oh, that sounds cool! :-)I'll finish my plug-in and installer with the help of packages first, as I'm a bit pressed for time. As soon as version 1 is released, I'll look into it again and let you know if I find out anything.
PS. Yes, the user can actually define several VST paths in every DAW I know. But I don't think the user VST folder is the default and I just want to avoid support requests... :-)
-
@Oli-Ullmann I did a big of looking into this today. There isn't a simple method unfortunately. You'll need to run a separate process (probably a bash script) that uses Apple's authorization services to request permission from the user, then copy the files from a temp location to the destination.
-
@d-healey
Hey David,thanks for checking that again! :-) I'll try to find out how Whitebox Packages solves it. Maybe I can find a good approach there.
All the best
Oli -
@Oli-Ullmann I think this is the source code for it - https://github.com/packagesdev/packages
-
@d-healey
Thanks to you. I'll see if I can find anything. -
@Oli-Ullmann Been writing to that library for years. Still haven't heard back.
-
@clevername27
Good to know.@d-healey has no problems either. Maybe I shouldn't worry so much and just write to the User VST3 folder... Thanks for your feedback! :-)