mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 09:14:34 +05:30
Setup flstudio via bottles/wine
This commit is contained in:
parent
36bd6759e2
commit
90ea1f4186
|
@ -54,6 +54,30 @@
|
|||
openvpn
|
||||
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
|
||||
gimp-with-plugins
|
||||
pinta
|
||||
|
|
Loading…
Reference in a new issue