mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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
Block a user