Mac Installer issue that effects (I think) all of us
-
@Lunacy-Audio Thanks man. So I just tried it without the bash script and it's installing absolutely fine.
Perhaps I don't even need the bash script?!
-
@DanH The bash script is only if you're trying to install data (like documentation or user presets) along with the standard plugin files.
Are you setting it as a post-script? Mine looks like this.
-
@Lunacy-Audio Yes I'm installing those LFO preset shapes (that you helped me make / save!). So data files which are all *.lfo, and they go straight into the Presets folder. My project looks roughly the same as yours in regards to the Post Install script etc.
Like I said it's all working. Tried on 3 computers now, Mojave and Catalina....
-
@DanH Oh cool! Yeah that's a perfect use case. Ok, glad it's working.
-
@Lunacy-Audio Yes but without the bash script (it wouldn't work with it) - so hopefully that doesn't cause any issues down the line....
-
@DanH The danger in not using the bash script is that you'll overwrite any presets or changes the user has added if they run the installer again. The bash script uses
rsync
to sync the files from the installer with whatever is currently there.But I'm not sure why it's not working on your end. I'm using it without any issues. You might need to make the .sh file executable? Hard to say without seeing your Packages file.
-
@Lunacy-Audio Can I send you my Packages file to check pls? Can't seem to figure out the error!
-
@Lunacy-Audio @dustbro Hi guys, do you know what I'd need to tweak in the bash script in order to overwrite a folder, say the User Presets for example? I tried removing rsync but I think there's another step or two?
Thanks, D
-
@DanH Try using the Remove command on a pre-install script
rm -rf /directory you wan to remove
-
@dustbro said in Mac Installer issue that effects (I think) all of us:
rm -rf /directory you wan to remove
Did the trick, thanks :)