Winetricks / winetricks

Winetricks is an easy way to work around problems in Wine
GNU Lesser General Public License v2.1
2.73k stars 398 forks source link

Allow creation and usage of wineprefixes on arbitrary location #1571

Open CoSoCo opened 4 years ago

CoSoCo commented 4 years ago

Currently only wineprefixes under $HOME/.local are supported. I i.e. prefer locations such as ~/.wine32 for a 32 bit wineprefix.

austin987 commented 4 years ago

You can set WINEPREFIX to use a particular prefix, or W_PREFIXES_ROOT to override $HOME/.local.

CoSoCo commented 4 years ago

1.) This does not work, e.g. with $ W_PREFIXES_ROOT=/home winetricks and create wineprefix ich/.test-wine it was created in /home/ich/.local/share/wineprefixes/ich/.test-wine instead /home/ich/.test-wine. 2.) Even if it would work, this would not fulfil the intention of this issue. My intention is that one can start winetricks with the installed winetricks.desktop starter and then can choose any location for creation of a new wineprefix AND too for customizing an existing one.

austin987 commented 4 years ago

1) Sorry, misread the code, that should be WINE_PREFIXES, not W_PREFIX_ROOT.

2) Fair enough. I'm unlikely to work on substantial gui changes, but if someone wants to send a PR, I'll review it.

CoSoCo commented 4 years ago
1. Sorry, misread the code, that should be WINE_PREFIXES, not W_PREFIX_ROOT.

Yes, it works as expected with: $ WINE_PREFIXES=/home winetricks

  1. Fair enough. I'm unlikely to work on substantial gui changes, but if someone wants to send a PR, I'll review it. With this I can agree. Unfortunately I do not have enough insight into the code to do this work either. So I appreciate to just leave this issue open.