mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Modify installation oneliner to ignore non-VSTs
This commit is contained in:
@@ -51,11 +51,13 @@ ln -s ~/.local/share/yabridge/libyabridge.so "$HOME/.wine/drive_c/Program Files/
|
|||||||
```
|
```
|
||||||
|
|
||||||
For instance, if you wanted to set up yabridge for any of the VST plugins under
|
For instance, if you wanted to set up yabridge for any of the VST plugins under
|
||||||
`~/.wine/drive_c/Program Files/Steinberg/VstPlugins`, you could do something
|
`~/.wine/drive_c/Program Files/Steinberg/VstPlugins`, you could run this
|
||||||
like this:
|
oneliner in Bash. This will also skip any `.dll` files that are not actually VST
|
||||||
|
plugins.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 \
|
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 \
|
||||||
|
| xargs -0 -P8 -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" \
|
||||||
| sed -z 's/\.dll$/.so/' \
|
| sed -z 's/\.dll$/.so/' \
|
||||||
| xargs -0 -n1 ln -sf ~/.local/share/yabridge/libyabridge.so
|
| xargs -0 -n1 ln -sf ~/.local/share/yabridge/libyabridge.so
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user