Skip to content

Commit

Permalink
Delete location classes from package
Browse files Browse the repository at this point in the history
  • Loading branch information
Feodor0090 committed Sep 10, 2023
1 parent 6c11518 commit 8fb005c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ fi

echo "Build done!" ./${APP}.jar

echo "Removing location classes..."
rm ./classes/mahomaps/map/LocationAPI*

echo "Jaring preverified class files..."
${JAR} cmf ${MANIFEST} ${APP}_no_geo.jar -C ./classes .

if [ -d ${RES} ] ; then
${JAR} uf ${APP}_no_geo.jar -C ${RES} .
fi

echo Optimizing ${APP}
chmod +x ${PROGUARD}
touch cf.cfg
Expand Down

0 comments on commit 8fb005c

Please sign in to comment.