Skip to content

Commit

Permalink
fix: updated jar url
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoMagnini committed Nov 14, 2024
1 parent 8939347 commit bc69d5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download-jars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ get_latest_release() {

TUPROLOG_GITHUB='tuProlog/2p-kt'
TUPROLOG_VERSION=`get_latest_release $TUPROLOG_GITHUB`
TUPROLOG_JAR_URL="https://github.com/$TUPROLOG_GITHUB/releases/download/$TUPROLOG_VERSION/2p-$TUPROLOG_VERSION-full.jar"
TUPROLOG_JAR_URL="https://github.com/$TUPROLOG_GITHUB/releases/download/$TUPROLOG_VERSION/2p-full-$TUPROLOG_VERSION-redist.jar"

rm -rf tuprolog/libs/*.jar

wget -P tuprolog/libs/ $TUPROLOG_JAR_URL || (echo "Failed to download $TUPROLOG_JAR_URL"; echo "Ensure command wget is installed (brew install wget on Mac OS)")
wget -P tuprolog/libs/ $TUPROLOG_JAR_URL || (echo "Failed to download $TUPROLOG_JAR_URL"; echo "Ensure command wget is installed (brew install wget on Mac OS)")

0 comments on commit bc69d5b

Please sign in to comment.