add jarsigner params that are supposed to fix for installing on older devices

This commit is contained in:
Eric House 2016-02-01 06:17:36 -08:00
parent 45224a75fa
commit 36551a310a

View file

@ -76,7 +76,7 @@ for PACK_UNSIGNED in $FILES; do
echo "base: $PACK_SIGNED" >&2
PACK_SIGNED=${PACK_SIGNED/-unsigned}
echo "signed: $PACK_SIGNED" >&2
jarsigner -verbose -keystore ~/.keystore $PACK_UNSIGNED mykey
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/.keystore $PACK_UNSIGNED mykey
rm -f $PACK_SIGNED
zipalign -v 4 $PACK_UNSIGNED $PACK_SIGNED
[ -n "$XW_WWW_PATH" ] && cp $PACK_SIGNED $XW_WWW_PATH