mirror of
https://github.com/Steffo99/archpkg-spiral-knights-steam.git
synced 2024-11-21 15:44:23 +00:00
28 lines
542 B
Bash
Executable file
28 lines
542 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $Id: projectx 5338 2009-10-22 21:55:03Z dhoover $
|
|
#
|
|
# Runs the Spiral Knights game updater/launcher.
|
|
|
|
INSTDIR=`dirname $0`
|
|
|
|
echo "Using INSTDIR=$INSTDIR"
|
|
|
|
# do our best to locate the appropriate version of Java
|
|
# JAVA=java
|
|
# if [ -x $INSTDIR/java/bin/java ]; then
|
|
# JAVA=$INSTDIR/java/bin/java
|
|
# elif [ -x $JAVA_HOME/bin/java ]; then
|
|
# JAVA=$JAVA_HOME/bin/java
|
|
# fi
|
|
|
|
# use custom java32
|
|
JAVA="java32"
|
|
|
|
echo "Using JAVA=$JAVA"
|
|
|
|
# run the updater/launcher
|
|
$JAVA $* -jar $INSTDIR/getdown-pro.jar $INSTDIR
|
|
|
|
echo "Finished"
|
|
|