Invoke wineprefixcreate if the .wine directory does not exist.
This commit is contained in:
parent
df55257115
commit
314150f220
|
@ -84,6 +84,13 @@ then
|
|||
. $topdir/.winewrapper
|
||||
fi
|
||||
|
||||
# create prefix directory if needed
|
||||
|
||||
if [ -z "$WINEPREFIX" -a ! -d "$HOME/.wine" ]
|
||||
then
|
||||
"$topdir/tools/wineprefixcreate" --update --use-wine-tree "$topdir"
|
||||
fi
|
||||
|
||||
# and run the application
|
||||
|
||||
case "$0" in
|
||||
|
|
Loading…
Reference in New Issue