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

set -e

ELVER=""
QTVER="5.11"
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

cd $EVEDIR
exec $LAUNCHER/evelauncher.sh