initial import
This commit is contained in:
17
vegastrike/vsettings
Executable file
17
vegastrike/vsettings
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user