From e89b9b8d70b2dc129509d1b9e6544b948dff8e70 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 8 Apr 2016 19:17:00 -0400 Subject: [PATCH] Start of update detect cron script --- .../resources/net/runelite/deob/updater/detect-update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main/resources/net/runelite/deob/updater/detect-update.sh 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