Add script to generate mac vst bundles
This commit is contained in:
parent
32a76811c7
commit
e364a0d113
|
@ -25,6 +25,8 @@
|
|||
*.exe
|
||||
*.msi
|
||||
*.so
|
||||
*.vst
|
||||
*.vst3
|
||||
|
||||
# Binary dir
|
||||
bin/jack/
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -d bin ]; then
|
||||
cd bin
|
||||
else
|
||||
echo "Please run this script from the root folder"
|
||||
exit
|
||||
fi
|
||||
|
||||
rm -rf *.vst/
|
||||
|
||||
PLUGINS=$(ls | grep "Carla" | grep "dylib")
|
||||
|
||||
for i in ${PLUGINS}; do
|
||||
FILE=$(echo $i | awk 'sub(".dylib","")')
|
||||
cp -r ../data/macos/plugin.vst ${FILE}.vst
|
||||
cp $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 ..
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>X-PROJECTNAME-X</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>net.sf.distrho.X-PROJECTNAME-X</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
BNDL????
|
Loading…
Reference in New Issue