summarylogtreecommitdiffstats
path: root/evelauncher.sh.in
blob: b46df0e6c92da98b171b86c97816dec2d2a614a0 (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
#!/bin/sh

set -e

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

. ./evesetup.shlib

check_env
check_wine
check_steam

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

cd $EVEDIR
exec $LAUNCHER/evelauncher.sh