diff options
author | Jernuh Zakalwe | 2018-11-14 12:17:48 +0100 |
---|---|---|
committer | Jernuh Zakalwe | 2018-11-14 12:17:48 +0100 |
commit | 8c98ae0c6a045da42bc43169de086e9d3aedc165 (patch) | |
tree | 1b76d00e4b57762f8a0d7f30a2ef0fc033d0ff71 /evelauncher.sh | |
parent | 5f9cdbedd5d9df58ea837f099e63358958489adc (diff) | |
download | aur-8c98ae0c6a045da42bc43169de086e9d3aedc165.tar.gz |
After closing Bug 43358 in Wine (XAudio 2.7 sound bug) set Wine in XP-Mode are no longer necessary.
Diffstat (limited to 'evelauncher.sh')
-rw-r--r-- | evelauncher.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/evelauncher.sh b/evelauncher.sh index e9c9cc0147cc..85fe4a4543ed 100644 --- a/evelauncher.sh +++ b/evelauncher.sh @@ -72,8 +72,10 @@ check_wine() { env WINEPREFIX=$WINEPREFIX "$WINEPATH/wine" reg add \ 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' \ /v winemenubuilder.exe /f >/dev/null - env WINEPREFIX=$WINEPREFIX WINE="$WINEPATH/wine" \ - $(which winetricks) -q winxp >/dev/null + if [ $("$WINEPATH/wine" --version | grep -q 3.2 ;echo $?) != 0 ] ;then + env WINEPREFIX=$WINEPREFIX WINE="$WINEPATH/wine" \ + $(which winetricks) -q winxp >/dev/null + fi fi else launcher_msg "ERROR: \"$CUSTOMWP\" in \"Custom Wine path\" not found!" |