Closed n8marti closed 2 years ago
Oof, that's a big oversight from our part!
As a workaround, you can use the pre-install hook. Take a look at this part of sommelier-core.
This feature isn't documented yet as its main use is to workaround bugs in sommelier-core and we want people to report and fix the bugs instead of working around them ;)
I don't see how we can fix the TRICKS
environment variable in a backwards-compatible way. I think we will need to create a new environment variable which uses ;
as separator instead of spaces. Maybe we can just call it SOMMELIER_TRICKS
, since all new environment variables of sommelier-core are prefixed with SOMMELIER_
.
Well, this may still be a necessary improvement in general, but I just discovered that running winetricks fontsmooth=rgb
works just the same as ```winetricks settings fontsmooth=rgb". So in my case I can just simplify my TRICKS list by omitting "settings" from it. This appears to be what I've done with ddr=gdi already.
I will close this issue for the moment. Please re-open it if you find a trick that still requires spaces and the workaround above doesn't work.
I've contributed to a DEB package that sets up a Windows app via wine. The setup script runs a few winetricks commands, one of which is a single command with two arguments:
winetricks settings fontsmooth=rgb
I would like to be able to use this same command
winetricks settings fontsmooth=rgb
in an app installed with sommelier, but it would need to be somehow reworked, because it currently assumes that each space-separated term passed to TRICKS is a separate winetricks command. Consider this a request for an enhancement, or maybe a request for ideas on a workaround?