From 3e606e83b580e54fef6274974c45167ee1a09b85 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 25 Sep 2018 07:49:46 -0700 Subject: [PATCH] lol --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index b5971c24..00e3b993 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -4,9 +4,9 @@ export VERSION=$(cat ../../build.gradle| grep "version '" | cut -d "'" -f 2-2) wget https://downloads.sourceforge.net/project/proguard/proguard/6.0/proguard6.0.3.zip unzip proguard6.0.3.zip 2>&1 > /dev/null cd build/libs -cat ../../proguard.pro | grep -v "this is the rt jar" | grep -v "\-injars" > api.pro # remove default rt jar and injar lines -echo "-libraryjars '$(java -verbose 2>/dev/null | sed -ne '1 s/\[Opened \(.*\)\]/\1/p')'" >> api.pro # insert correct rt.jar location echo "-injars 'baritone-$VERSION.jar'" >> api.pro # insert current version +cat ../../proguard.pro | grep -v "this is the rt jar" | grep -v "\-injars" >> api.pro # remove default rt jar and injar lines +echo "-libraryjars '$(java -verbose 2>/dev/null | sed -ne '1 s/\[Opened \(.*\)\]/\1/p')'" >> api.pro # insert correct rt.jar location tail api.pro # debug, print out what the previous two commands generated cat api.pro | grep -v "\-keep class baritone.api" > standalone.pro # standalone doesn't keep baritone api wget https://www.dropbox.com/s/zmc2l3jnwdvzvak/tempLibraries.zip?dl=1 # i'm sorry