mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user