diff --git a/src/main/resources/net/runelite/deob/updater/detect-update.sh b/src/main/resources/net/runelite/deob/updater/detect-update.sh new file mode 100644 index 0000000000..30bcebe69a --- /dev/null +++ b/src/main/resources/net/runelite/deob/updater/detect-update.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +JAVA="java -cp target/deob-1.0-SNAPSHOT-jar-with-dependencies.jar" + +$JAVA net.runelite.deob.updater.UpdateDetector /tmp/rsupdate +if [ $? -ne 0 ] ; then + exit +fi