18 lines
551 B
Bash
Executable File
18 lines
551 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
VEGASTRIKE_LOCAL_SHARE_DIR="/usr/local/share/games/vegastrike"
|
|
VEGASTRIKE_SHARE_DIR="/usr/share/games/vegastrike"
|
|
|
|
# This is a small wrapper that lets VegaStrike - Upon the Coldest Sea
|
|
# run from seemingly anywhere
|
|
if [ -d "${VEGASTRIKE_LOCAL_SHARE_DIR}" ]; then
|
|
vegasettings --target "${VEGASTRIKE_LOCAL_SHARE_DIR}"
|
|
elif [ -d "${VEGASTRIKE_SHARE_DIR}" ]; then
|
|
vegasettings --target "${VEGASTRIKE_SHARE_DIR}"
|
|
else
|
|
echo "Unknown Game Asset Data Location."
|
|
echo "Do you have the game assets installed?"
|
|
exit 1
|
|
fi
|