diff options
author | Jernuh Zakalwe | 2019-06-23 09:36:24 +0200 |
---|---|---|
committer | Jernuh Zakalwe | 2019-06-23 09:36:24 +0200 |
commit | 1d0c8c231a09a69c34c1dc5aff98d7fa8c4a7fd1 (patch) | |
tree | 0188856f45973be484f0de93bf375b5d832abc62 /evelauncher.sh | |
parent | aa9dd29a6945bea841c805218791c0f63eccc33f (diff) | |
download | aur-1d0c8c231a09a69c34c1dc5aff98d7fa8c4a7fd1.tar.gz |
Function check_wine moved to evelauncher.shlib and merged with check_custom_wine.
Diffstat (limited to 'evelauncher.sh')
-rw-r--r-- | evelauncher.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/evelauncher.sh b/evelauncher.sh index 035bfdb41efc..e65ae94a2b4b 100644 --- a/evelauncher.sh +++ b/evelauncher.sh @@ -33,36 +33,6 @@ check_steam() { fi } -check_wine() { - - check_custom_wine - - INSTWINE=$(cat $WINEPREFIX/.update-timestamp 2>/dev/null) || true - WINEINFP=$(readlink -f $CUSTOMWP) - WINECONF=$(find ${WINEINFP%/bin*}/share -name 'wine.inf' 2>/dev/null) || true - WINEDATE=$(ls -l --time-style=+%s "$WINECONF" 2>/dev/null | cut -d' ' -f6) - if [ "x$WINEDATE" != "x$INSTWINE" ] ;then - desktop_msg "Preparing wine in $WINEPREFIX" - rm -f $WINEPREFIX/.update-timestamp $WINEPREFIX/*.reg || true - rm -rf $WINEPREFIX/drive_c/Program* $WINEPREFIX/drive_c/windows || true - env WINEPREFIX=$WINEPREFIX \ - WINEDEBUG=-all \ - WINEDLLOVERRIDES="mscoree,mshtml,winemenubuilder.exe=d" \ - $WINEPATH/wine wineboot - WINETRP=$(grep -v win[x1..9] $WINEPREFIX/winetricks.log 2>/dev/null | uniq) - rm $WINEPREFIX/winetricks.log 2>/dev/null || true - if [ "x$WINETRP" != "x" ] ;then - env WINEPREFIX=$WINEPREFIX WINE=$WINEPATH/wine \ - $(which winetricks) -q --force $WINETRP >/dev/null - fi - env WINEPREFIX=$WINEPREFIX WINE=$WINEPATH/wine \ - $(which winetricks) -q --force win10 >/dev/null - fi - env WINEPREFIX=$WINEPREFIX $WINEPATH/wine reg add \ - 'HKEY_CURRENT_USER\Software\Wine\FileOpenAssociations' \ - /v Enable /d N /f >/dev/null -} - ELVER="" QTVER="5.11" SHAREDIR="" |