forked from qo-op/G1BILLET
amzqr missing fall back to qrencode
This commit is contained in:
parent
17b06fe84d
commit
a3df26659d
@ -117,7 +117,8 @@ if [[ "${STYLE:0:1}" != "_" && "${STYLE:0:1}" != "@" && ! "${STYLE}" =~ ^[a-zA-Z
|
||||
amzqr -d ${MY_PATH}/tmp \
|
||||
-l H \
|
||||
-p ${MY_PATH}/tmp/fond.png \
|
||||
"$DISCO"
|
||||
"$DISCO" \
|
||||
|| qrencode -s 6 -o "${MY_PATH}/tmp/fond_qrcode.png" "$DISCO"
|
||||
|
||||
## ADD PLAYER EMAIL
|
||||
convert -gravity southeast -pointsize 28 -fill black -draw "text 5,3 \"${EMAIL}\"" ${MY_PATH}/tmp/fond_qrcode.png ${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.ZENCARD.png
|
||||
@ -148,7 +149,8 @@ fi
|
||||
amzqr "${ASTROLINK}" \
|
||||
-l H -p "$MY_PATH/${IMAGES}/${TWIMG}" \
|
||||
-c -n QRTWavatar.png \
|
||||
-d ${MY_PATH}/tmp/g1billet/${UNIQID}/
|
||||
-d ${MY_PATH}/tmp/g1billet/${UNIQID}/ \
|
||||
|| qrencode -s 6 -o "${MY_PATH}/tmp/g1billet/${UNIQID}/QRTWavatar.png" "${ASTROLINK}"
|
||||
|
||||
convert ${MY_PATH}/tmp/g1billet/${UNIQID}/QRTWavatar.png -resize 280 ${MY_PATH}/tmp/g1billet/${UNIQID}/TW.${ASTRONS}.png
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user