summarylogtreecommitdiffstats
path: root/evewine
diff options
context:
space:
mode:
authorJernuh Zakalwe2019-03-03 14:57:40 +0100
committerJernuh Zakalwe2019-03-03 14:57:40 +0100
commit8ea2e0d83a2a8cfa2543308fd5cb831eb89cc8ac (patch)
treebae8be3980b1b1b2a9a78b0e4bf6d3540b2ec595 /evewine
parentad1a68e4c01b49bf047e191d00b36938e14d52d4 (diff)
downloadaur-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--evewine19
1 files changed, 3 insertions, 16 deletions
diff --git a/evewine b/evewine
index 77b47f06580a..6d0c1fd9e4cb 100644
--- a/evewine
+++ b/evewine
@@ -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}