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

set -e

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

. $SETUPDIR/lib/evelauncher.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 $SETUPDIR/lib/eve-transl${QTVER}-??.tar.gz) ;do
	    tar xf $eta -C $LAUNCHER
	done
    fi
fi

cd $EVEDIR
exec $LAUNCHER/evelauncher.sh