blob: 13fba7bfd9ff51597064afd87845961a22bf593f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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
mkdir -p $run_dir
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
|