summarylogtreecommitdiffstats
path: root/evelauncher.sh.in
blob: fe9d90fb563b042e9309073e7aac331433bdb1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

set -e

ELVER=""
QTVER="5.12"
EVEDIR="$HOME/.local/lib/EVE"
SETUPDIR=""
LAUNCHER="$EVEDIR/Launcher"
WINEPATH="/usr/bin"

. ./evesetup.shlib

check_env
check_elv
check_wine
check_steam

if [ ! -r "$LAUNCHER/translations/qt_en.qm" ] ;then
	if [ -r "$LAUNCHER/libQt5Core.so.$QTVER.0" ] ;then
		for eta in ./eve-transl${QTVER}-??.tar.gz ;do
			tar xf $eta -C $LAUNCHER
		done
	fi
fi

export DXVK_LOG_LEVEL=${DXVK_LOG_LEVEL:-error}

cd $EVEDIR
exec $LAUNCHER/evelauncher.sh