Add a --utility argument to the AppImages.

This commit is contained in:
Paul Chote
2018-12-06 04:48:05 +00:00
committed by Oliver Brakmann
parent 224377f078
commit 9f30e2ecb0
3 changed files with 15 additions and 1 deletions

View File

@@ -70,7 +70,13 @@ fi
# Run the game or server
if [ -n "$1" ] && [ "$1" = "--server" ]; then
# Drop the --server argument
shift
exec "openra-{MODID}-server" "$@"
elif [ -n "$1" ] && [ "$1" = "--utility" ]; then
# Drop the --utility argument
shift
exec "openra-{MODID}-utility" "$@"
else
exec "openra-{MODID}" "$@"
fi