fix winetricks check

This commit is contained in:
RealJohnGalt 2018-12-15 10:14:53 -08:00
parent 6592411b0a
commit 83232620d0

View File

@ -136,7 +136,7 @@ export WINEPREFIX="$(realpath $instdir)/wine"
#for cemuhook #for cemuhook
export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b" export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b"
if [ -z `winetricks list-installed|grep vcrun2015` ]; then if [ -z "`winetricks list-installed|grep vcrun2015`" ]; then
if [ -n "`whereis zenity|grep bin`" ]; then if [ -n "`whereis zenity|grep bin`" ]; then
zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes' zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes'
fi fi
@ -154,7 +154,7 @@ export WINEPREFIX="$(realpath $instdir)/wine"
#for cemuhook #for cemuhook
export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b" export WINEDLLOVERRIDES="mscoree=;mshtml=;dbghelp.dll=n,b"
if [ -z `winetricks list-installed|grep vcrun2015` ]; then if [ -z "`winetricks list-installed|grep vcrun2015`" ]; then
if [ -n "`whereis zenity|grep bin`" ]; then if [ -n "`whereis zenity|grep bin`" ]; then
zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes' zenity --info --title 'Cemu' --text 'Installing wine dependencies.\n\nThe process may take a few minutes'
fi fi