cckec / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

Steam install ignoring WINEPREFIX #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. env WINEPREFIX=/usr/local/games/steam winetricks steam

What is the expected output? What do you see instead?
Expected: Wine window setting up /usr/local/games/steam, followed by Steam 
install to that directory

Instead: Wine window setting up in /usr/local/games/steam, then a wine window 
setting up in $HOME/.local/share/wineprefixes/steam

What version of the product are you using? On what operating system?
Winetricks version 20110629
Wine-1.2.3

Please provide any additional information below.
Line 990 appears to overwrite the established WINEPREFIX: myexec="Exec=env 
WINEPREFIX=\"$HOME/.local/share/wineprefixes/$W_PACKAGE\" wine cmd /c 
'C:\\\\\\Run-$W_PACKAGE.bat'"

Original issue reported on code.google.com by buschap on 15 Nov 2011 at 2:04

GoogleCodeExporter commented 8 years ago
Same thing with mpc, which not only ends up in ~/.local/share/wineprefixes/mpc, 
it's just a silent unzip operation with no real installation or program links 
to be found. And it crashes when run, but that's a different story.

Original comment by danielb...@gmail.com on 3 Jan 2012 at 7:17

GoogleCodeExporter commented 8 years ago
That's a feature, not a bug.  You need the --no-isolate option to get
apps to be installed in the default wine prefix.

You should file another bug if you are quite sure that setting WINEPREFIX 
should imply --no-isolate.  I didn't do things that way because of resistance 
from wine-devel; they wanted to be sure that game workarounds didn't ever 
contaminate the default wineprefix.

Original comment by daniel.r...@gmail.com on 3 Jan 2012 at 2:48

GoogleCodeExporter commented 8 years ago
I'm considering adding something like

--- winetricks  (revision 753)
+++ winetricks  (working copy)
@@ -3393,6 +3393,10 @@
         if test "$WINEPREFIX"
         then
             WINETRICKS_ORIGINAL_WINEPREFIX="$WINEPREFIX"
+            if test WINETRICKS_OPT_SHAREDPREFIX=0
+            then
+                w_info "To install apps into $WINEPREFIX, give the 
--no-isolate option"
+            fi
         else
             WINETRICKS_ORIGINAL_WINEPREFIX="$HOME/.wine"
         fi

to make this a little less jarring.

Original comment by daniel.r...@gmail.com on 3 Jan 2012 at 3:01

GoogleCodeExporter commented 8 years ago
to be honest : 

winetricks prefix=gamename game_verb_that_uses_steam

should go to ~/.local/share/wineprefixes/gamename

not ~/.local/share/wineprefixes/steam

Original comment by airtonix@gmail.com on 19 Apr 2014 at 10:16

GoogleCodeExporter commented 8 years ago
Possibly.  It depends on what users expect.  I'm not sure I can make them all 
happy.

Original comment by daniel.r...@gmail.com on 19 Apr 2014 at 3:50