Setup flstudio via bottles/wine

This commit is contained in:
Emmet 2023-09-30 11:58:02 -05:00
parent 36bd6759e2
commit 90ea1f4186

View file

@ -54,6 +54,30 @@
openvpn openvpn
protonmail-bridge protonmail-bridge
wine
bottles
# The following requires 64-bit FL Studio (FL64) to be installed to a bottle
# With a bottle name of "FL Studio"
(pkgs.writeShellScriptBin "flstudio" ''
#!/bin/sh
if [ -z "$1" ]
then
bottles-cli run -b "FL Studio" -p FL64
#flatpak run --command=bottles-cli com.usebottles.bottles run -b FL\ Studio -p FL64
else
filepath=$(winepath --windows "$1")
echo \'"$filepath"\'
bottles-cli run -b "FL Studio" -p "FL64" --args \'"$filepath"\'
#flatpak run --command=bottles-cli com.usebottles.bottles run -b FL\ Studio -p FL64 -args "$filepath"
fi
'')
(pkgs.makeDesktopItem {
name = "flstudio";
desktopName = "FL Studio 64";
exec = "flstudio";
terminal = false;
})
# Media # Media
gimp-with-plugins gimp-with-plugins
pinta pinta