blob: b8b7f2886903c6d980d3f37601e9cf1121d983e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/bash
set -e
if [ -d bin ]; then
cd bin
else
echo "Please run this script from the root folder"
exit
fi
PWD=`pwd`
rm -rf *.vst/
PLUGINS=`ls | grep vst.dylib`
for i in $PLUGINS; do
FILE=`echo $i | awk 'sub("-vst.dylib","")'`
if [ -e ../dpf ]; then
cp -r ../dpf/utils/plugin.vst/ $FILE.vst
else
cp -r ../utils/plugin.vst/ $FILE.vst
fi
mv $i $FILE.vst/Contents/MacOS/$FILE
rm -f $FILE.vst/Contents/MacOS/deleteme
sed -i -e "s/X-PROJECTNAME-X/$FILE/" $FILE.vst/Contents/Info.plist
rm -f $FILE.vst/Contents/Info.plist-e
done
cd ..
|