Skip to content

Commit 46b46fa

Browse files
committed
Copy AU bundle for testing script, no other way works
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 3b678ae commit 46b46fa

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

utils/install-plugins-symlinks.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ export IFS=$'\n'
3636

3737
# NOTE macOS ignores AU plugins installed in ~/Library/Audio/Plug-Ins/Components/
3838
# we **MUST** install AU plugins system-wide, so we need sudo/root here
39-
# for p in $(find . -maxdepth 1 -name '*.component' -print -quit | grep '.component'); do
40-
# basename=$(basename ${p})
41-
# if [ ! -L /Library/Audio/Plug-Ins/Components/"${basename}" ]; then
42-
# sudo ln -s $(pwd)/"${basename}" /Library/Audio/Plug-Ins/Components/"${basename}"
43-
# fi
44-
# done
39+
# they cannot be symlinks either, so we do a full copy
40+
for p in $(find . -maxdepth 1 -name '*.component' -print | grep '.component'); do
41+
basename=$(basename ${p})
42+
if [ ! -L /Library/Audio/Plug-Ins/Components/"${basename}" ]; then
43+
sudo cp -r $(pwd)/"${basename}" /Library/Audio/Plug-Ins/Components/
44+
fi
45+
done
4546

4647
for p in $(find . -maxdepth 1 -name '*.clap' -print); do
4748
basename=$(basename ${p})

0 commit comments

Comments
 (0)