|
@@ -17,16 +17,7 @@ if [ ! -d "${HOME}/.OpenRaider" ]; then
|
17
|
17
|
fi
|
18
|
18
|
if [[ ! -n `find "${HOME}/.OpenRaider/paks" -type f -exec echo Found {} \;` ]]; then
|
19
|
19
|
echo "Missing level files!"
|
20
|
|
- osascript -e 'tell app "System Events" to display alert "No level files stored in ~/.OpenRaider/paks\n\nPlace level files there and edit ~/.OpenRaider/OpenRaider.init"'
|
|
20
|
+ osascript -e 'tell app "System Events" to display alert "No level files stored in ~/.OpenRaider/paks\n\nPlace original Tomb Raider level files there!"'
|
21
|
21
|
else
|
22
|
|
- if [[ ! `diff "${HOME}/.OpenRaider/OpenRaider.init" "../Resources/defaults/OpenRaider.init"` ]]; then
|
23
|
|
- if [[ ! `diff "${HOME}/.OpenRaider/custom.cfg" "../Resources/defaults/custom.cfg"` ]]; then
|
24
|
|
- echo "Unconfigured user!"
|
25
|
|
- osascript -e 'tell app "System Events" to display alert "Please edit ~/.OpenRaider/OpenRaider.init or ~/.OpenRaider/custom.cfg"'
|
26
|
|
- else
|
27
|
|
- ./OpenRaider
|
28
|
|
- fi
|
29
|
|
- else
|
30
|
|
- ./OpenRaider
|
31
|
|
- fi
|
|
22
|
+ ./OpenRaider
|
32
|
23
|
fi
|