comparison DPF-Prymula-audioplugins/dpf/utils/generate-vst-bundles.sh @ 3:84e66ea83026

DPF-Prymula-audioplugins-0.231015-2
author prymula <prymula76@outlook.com>
date Mon, 16 Oct 2023 21:53:34 +0200
parents
children
comparison
equal deleted inserted replaced
2:cf2cb71d31dd 3:84e66ea83026
1 #!/bin/bash
2
3 echo "WARNING: generate-vst-bundles.sh script is no longer used"
4 exit 0
5
6 set -e
7
8 if [ -d bin ]; then
9 cd bin
10 else
11 echo "Please run this script from the root folder"
12 exit
13 fi
14
15 DPF_DIR=$(dirname $0)/..
16 PLUGINS=$(ls | grep vst.dylib)
17
18 rm -rf *.vst/
19
20 for i in $PLUGINS; do
21 BUNDLE=$(echo ${i} | awk 'sub("-vst.dylib","")')
22 cp -r ${DPF_DIR}/utils/plugin.vst/ ${BUNDLE}.vst
23 mv ${i} ${BUNDLE}.vst/Contents/MacOS/${BUNDLE}
24 rm -f ${BUNDLE}.vst/Contents/MacOS/deleteme
25 sed -i -e "s/@INFO_PLIST_PROJECT_NAME@/${BUNDLE}/" ${BUNDLE}.vst/Contents/Info.plist
26 rm -f ${BUNDLE}.vst/Contents/Info.plist-e
27 done
28
29 cd ..