mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
Setup script: add check on wineprefix
This commit is contained in:
parent
f4ed16a7cc
commit
f19af68c7e
1 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,14 @@ if [ -z "$WINEPREFIX" ]; then
|
|||
if [ "$continue" != "y" ] && [ "$continue" != "Y" ]; then
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
if ! [ -f "$WINEPREFIX/system.reg" ]; then
|
||||
echo "WINEPREFIX does not point to an existing wine installation. Proceeding will create a new one, continue? (y/N)"
|
||||
read continue
|
||||
if [ "$continue" != "y" ] && [ "$continue" != "Y" ]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
unix_sys_path="$($wine winepath -u 'C:\windows\system32')"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue