CWD=$(pwd)
mycommand $DOSIGN mkdir ${TEMPDIR}/jarsign
mycommand $DOSIGN cd ${TEMPDIR}/jarsign
-
- JFILE="${APPPATH}/Contents/Resources/app/alt/libquaqua-8.0.jnilib.jar"
+
+ # for TEST-RELEASE or DEVELOP
+ JARPATH=alt
+ # if it is a release build then this happens
+ if [ -d "${APPPATH}/Contents/Resources/app/release" ]; then
+ JARPATH=release
+ fi
+
+ JFILE="${APPPATH}/Contents/Resources/app/${JARPATH}/libquaqua-8.0.jnilib.jar"
mycommand $DOSIGN jar xf "$JFILE"
FILE="libquaqua.jnilib"
mycommand $DOSIGN rm "${JFILE}.old"
- JFILE="${APPPATH}/Contents/Resources/app/alt/libquaqua64-8.0.jnilib.jar"
+ JFILE="${APPPATH}/Contents/Resources/app/${JARPATH}/libquaqua64-8.0.jnilib.jar"
mycommand $DOSIGN jar xf "$JFILE"
FILE="libquaqua64.jnilib"