From 46b46fa14e20b68237744799bc66125274b8e19f Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 3 Apr 2025 11:07:56 +0200 Subject: [PATCH] Copy AU bundle for testing script, no other way works Signed-off-by: falkTX --- utils/install-plugins-symlinks.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/utils/install-plugins-symlinks.sh b/utils/install-plugins-symlinks.sh index 69fadc5b..ac64f311 100755 --- a/utils/install-plugins-symlinks.sh +++ b/utils/install-plugins-symlinks.sh @@ -36,12 +36,13 @@ export IFS=$'\n' # NOTE macOS ignores AU plugins installed in ~/Library/Audio/Plug-Ins/Components/ # we **MUST** install AU plugins system-wide, so we need sudo/root here -# for p in $(find . -maxdepth 1 -name '*.component' -print -quit | grep '.component'); do -# basename=$(basename ${p}) -# if [ ! -L /Library/Audio/Plug-Ins/Components/"${basename}" ]; then -# sudo ln -s $(pwd)/"${basename}" /Library/Audio/Plug-Ins/Components/"${basename}" -# fi -# done +# they cannot be symlinks either, so we do a full copy +for p in $(find . -maxdepth 1 -name '*.component' -print | grep '.component'); do + basename=$(basename ${p}) + if [ ! -L /Library/Audio/Plug-Ins/Components/"${basename}" ]; then + sudo cp -r $(pwd)/"${basename}" /Library/Audio/Plug-Ins/Components/ + fi +done for p in $(find . -maxdepth 1 -name '*.clap' -print); do basename=$(basename ${p})