diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DPF-Prymula-audioplugins/dpf/utils/generate-vst-bundles.sh	Mon Oct 16 21:53:34 2023 +0200
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+echo "WARNING: generate-vst-bundles.sh script is no longer used"
+exit 0
+
+set -e
+
+if [ -d bin ]; then
+  cd bin
+else
+  echo "Please run this script from the root folder"
+  exit
+fi
+
+DPF_DIR=$(dirname $0)/..
+PLUGINS=$(ls | grep vst.dylib)
+
+rm -rf *.vst/
+
+for i in $PLUGINS; do
+  BUNDLE=$(echo ${i} | awk 'sub("-vst.dylib","")')
+  cp -r ${DPF_DIR}/utils/plugin.vst/ ${BUNDLE}.vst
+  mv ${i} ${BUNDLE}.vst/Contents/MacOS/${BUNDLE}
+  rm -f ${BUNDLE}.vst/Contents/MacOS/deleteme
+  sed -i -e "s/@INFO_PLIST_PROJECT_NAME@/${BUNDLE}/" ${BUNDLE}.vst/Contents/Info.plist
+  rm -f ${BUNDLE}.vst/Contents/Info.plist-e
+done
+
+cd ..