From ae0b38d027ce34ac298d9e9f390421d684c0470b Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 13 May 2020 12:50:11 +0200 Subject: [PATCH] Make plugin dir a variable in the example scripts To make it a bit more obvious that this can be set to any other location that contains VST plugins. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f65e3b83..fd1c9041 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,9 @@ VST plugins. ```shell yabridge_home=$HOME/.local/share/yabridge +plugin_dir="$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 | +find "$plugin_dir" -type f -iname '*.dll' -print0 | xargs -0 -P$(nproc) -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" | sed -z 's/\.dll$/.so/' | xargs -0 -n1 ln -sf "$yabridge_home/libyabridge.so" @@ -113,8 +114,9 @@ To install yabridge for all VST2 plugins under `~/.wine/drive_c/Program Files/St ```shell yabridge_home=$HOME/.local/share/yabridge +plugin_dir="$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 | +find "$plugin_dir" -type f -iname '*.dll' -print0 | xargs -0 -P$(nproc) -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" | sed -z 's/\.dll$/.so/' | xargs -0 -n1 cp "$yabridge_home/libyabridge.so"