README and scripts for managin BitWig with Wine 9.21 to support Windows VSTs via yabridge.

This commit is contained in:
2026-06-10 17:16:19 -05:00
parent a75257a7b0
commit 8b625ab8fe
3 changed files with 251 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
wine_loader="${YABRIDGE_WINELOADER:-$script_dir/wine-staging-9.21.sh}"
bitwig="${BITWIG_STUDIO:-/usr/bin/bitwig-studio}"
if [[ ! -x "$wine_loader" ]]; then
printf 'Wine loader is not executable: %s\n' "$wine_loader" >&2
exit 127
fi
if [[ ! -x "$bitwig" ]]; then
printf 'Bitwig Studio launcher is not executable: %s\n' "$bitwig" >&2
exit 127
fi
export WINELOADER="$wine_loader"
unset WINEPREFIX
exec "$bitwig" "$@"