Browse Source

Copy AU bundle for testing script, no other way works

Signed-off-by: falkTX <falktx@falktx.com>
popup-tests
falkTX 1 month ago
parent
commit
46b46fa14e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      utils/install-plugins-symlinks.sh

+ 7
- 6
utils/install-plugins-symlinks.sh View File

@@ -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})


Loading…
Cancel
Save