diff options
author | Jernuh Zakalwe | 2019-03-03 14:57:40 +0100 |
---|---|---|
committer | Jernuh Zakalwe | 2019-03-03 14:57:40 +0100 |
commit | 8ea2e0d83a2a8cfa2543308fd5cb831eb89cc8ac (patch) | |
tree | bae8be3980b1b1b2a9a78b0e4bf6d3540b2ec595 /evewine | |
parent | ad1a68e4c01b49bf047e191d00b36938e14d52d4 (diff) | |
download | aur-8ea2e0d83a2a8cfa2543308fd5cb831eb89cc8ac.tar.gz |
32bit restriction removed from used wine environment for coming 64bit client.
Windows version now set to win10 for wine versions >=4.0 for possible use of vkd3d.
Some shell functions outsourced in evelauncher.shlib for using in all scripts.
Diffstat (limited to 'evewine')
-rw-r--r-- | evewine | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -1,21 +1,8 @@ #!/bin/sh -EVECONF=$HOME/.config/CCP/EVE.conf -UCW=$(grep UseCustomWine $EVECONF | cut -d= -f2) -if [ "x$UCW" = "xtrue" ] ;then - CUSTOMWP=$(grep CustomWinePath $EVECONF | cut -d= -f2) - WINEPATH=${CUSTOMWP%/*} - SHAREDIR=$(grep SharedCacheFolder $EVECONF | cut -d= -f2) - WINEPREFIX=${SHAREDIR}wineenv -else - echo "$(basename $0): ERROR: \"Use Custom Wine\" not set!" - exit 1 -fi -if [ ! -x "$WINEPATH/wine" ] ;then - echo "$(basename $0): ERROR: \"$CUSTOMWP\" from \"Custom Wine path\" not found!" - echo "$(basename $0): The full path are required (example: /usr/bin/wine)." - exit 1 -fi +source /opt/evesetup/lib/evelauncher.shlib + +check_custom_wine if [ -x "$WINEPATH/${0#*eve}" ] ;then WINECMD=$WINEPATH/${0#*eve} |