update readme, update script to cleanup and remove unneeded desktop entry and icon.

This commit is contained in:
2025-11-30 08:23:33 -05:00
parent 1548d9619a
commit 0630864647
3 changed files with 9 additions and 17 deletions

View File

@@ -1,2 +1,4 @@
# Synthesizer V Studio 2 Linux Installer # Synthesizer V Studio 2 Linux Installer
Just a script to install Synth V 2 on linux. Just a script to install Synth V 2 on linux.
Download the script and run it, make sure you have wine, winetricks and yabridge/yabridgectl installed if you want to try and use the VST plugin.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
echo "Starting Synthesizer V Studio 2 Pro Linux Installer. For VST support, wine 9.21 staging is recommended." echo "Starting Synthesizer V Studio 2 Pro Linux Installer. For VST support, wine 9.21 staging is recommended for yabridge."
# Checking if everything we need is installed # Checking if everything we need is installed
if ! [ -x "$(command -v wine)" ]; then if ! [ -x "$(command -v wine)" ]; then
@@ -11,7 +11,7 @@ if ! [ -x "$(command -v winetricks)" ]; then
exit 1 exit 1
fi fi
if ! [ -x "$(command -v yabridgectl)" ]; then if ! [ -x "$(command -v yabridgectl)" ]; then
echo 'Error: Yabridgectl is not installed, vst support wont work.' >&2 echo "Yabridgectl is not installed, vst support won't work." >&2
fi fi
echo 'Passed dependency checks' echo 'Passed dependency checks'
@@ -26,7 +26,6 @@ if [ ! -d "$wineprefix_path" ]; then
exit 1 exit 1
fi fi
# Download Edge Webview and SV2 # Download Edge Webview and SV2
curl -L -o MicrosoftEdgeWebview2Setup.exe https://go.microsoft.com/fwlink/p/?LinkId=2124703 curl -L -o MicrosoftEdgeWebview2Setup.exe https://go.microsoft.com/fwlink/p/?LinkId=2124703
curl -L -o svstudio2-pro-setup-latest.exe https://download.dreamtonics.com/svstudio2/svstudio2-pro-setup-latest.exe curl -L -o svstudio2-pro-setup-latest.exe https://download.dreamtonics.com/svstudio2/svstudio2-pro-setup-latest.exe
@@ -47,29 +46,20 @@ cat > $wineprefix_path/synth_v_login.sh <<EOF
WINEPREFIX=$wineprefix_path wine "C:\\Program Files\\Synthesizer V Studio 2 Pro\\synthv-studio.exe" "\$1" WINEPREFIX=$wineprefix_path wine "C:\\Program Files\\Synthesizer V Studio 2 Pro\\synthv-studio.exe" "\$1"
EOF EOF
chmod +x $wineprefix_path/synth_v_login.sh # Cleanup downloads
echo "Writing Desktop Entry..." rm MicrosoftEdgeWebview2Setup.exe
cat > ~/.local/share/applications/synthv.desktop <<EOF rm svstudio2-pro-setup-latest.exe
[Desktop Entry]
Name=Synthesizer V Studio 2 Pro
Exec=$wineprefix_path/synth_v_login.sh %f
Icon=$wineprefix_path/drive_c/sv-studio-icon.png
MimeType=x-scheme-handler/dreamtonics-svstudio2;
Type=Application
Categories=AudioVideo;
EOF
# Converting VST for Linux # Converting VST for Linux
yabridgectl add $wineprefix_path/drive_c/Program\ Files/Common\ Files/VST3/ > /dev/null 2>&1 | echo "Converting VST for Linux..." yabridgectl add $wineprefix_path/drive_c/Program\ Files/Common\ Files/VST3/ > /dev/null 2>&1 | echo "Converting VST for Linux..."
yabridgectl sync > /dev/null 2>&1 yabridgectl sync > /dev/null 2>&1
echo "" echo ""
echo "Trickiest part, you should have a working installation right now, when you click log in, your browser will ask you what application to open the link with. A script called synth_v_login.sh has been created in your wineprefix, tell your browser to use this script." echo "When you click log in, your browser will ask you what application to open the link with. A script called synth_v_login.sh has been created in your wineprefix, tell your browser to use this script."
sleep 5 sleep 5
echo "" echo ""
echo "Launching Synthesizer V Studio 2 Pro..." echo "Launching Synthesizer V Studio 2 Pro..."
WINEPREFIX="$wineprefix_path" wine "C:\Program Files\Synthesizer V Studio 2 Pro\synthv-studio.exe" > /dev/null 2>&1 WINEPREFIX="$wineprefix_path" wine "C:\Program Files\Synthesizer V Studio 2 Pro\synthv-studio.exe" > /dev/null 2>&1
echo "" echo ""
echo "Completed, you may use Synthesizer V Studio 2 Pro standalone or the VST might work in your DAW of choice, it should be in your VST3 folder." echo "Completed, you may use Synthesizer V Studio 2 Pro standalone or the VST might work in your DAW of choice, it should be in your VST3 folder if you had yabridgectl installed."
exit 0 exit 0