summarylogtreecommitdiffstats
path: root/freeablo.bin
blob: 33a03e20bb0e053becd1655125b592f293cc6cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
##########
### $$$$$$ Created By Eden Rose, For (aur)freeablo-git.
### Freeablo Startup
###
### Icon: freeablo_icon.svg
### Executable: freeablo_game
##########

run_dir=$HOME/'.freeablo'
app_dir=/usr/share/freeablo/resources 

if [ ! -e $run_dir ]; then
	ln -s "$app_dir/*" "$run_dir/"
fi
if [ ! -e $run_dir/'DIABDAT.MPQ' ]; then
	echo "Diablo Installation is not installed. Please install 'DIABDAT.MPQ' and 'Diablo.exe' into '('$app_dir')'"
	exit
fi

cd $run_dir && exec /usr/bin/freeablo_game