if [[ "${STYLE}" == "xbian" ]] ASTROPORT KODI !! https://gchange.fr

This commit is contained in:
qo-op 2021-01-29 00:15:23 +01:00
parent 666b25b313
commit a82d9f660f
1 changed files with 3 additions and 1 deletions

View File

@ -73,8 +73,10 @@ if [[ "${STYLE}" == "xbian" ]]
then
# CREATE PSEUDO for Gchange.fr
XZUID=$(${MY_PATH}/diceware.sh 1 | xargs)${RANDOM:0:2}$(${MY_PATH}/diceware.sh 1 | xargs)
BOTTOM="ASTROPORT KODI !! https://gchange.fr"
else
XZUID="G1 BILLET"
BOTTOM="Porte Monnaie Libre!! Utilisez avec https://cesium.app"
fi
convert -font 'Liberation-Sans' \
@ -82,7 +84,7 @@ convert -font 'Liberation-Sans' \
-pointsize 40 -fill black -draw 'text 75,50 "'"$XZUID"'"' \
-pointsize 30 -draw 'text 50,100 "'"Identifiant: $NUMERO"'"' \
-pointsize 22 -fill black -draw 'text 50,130 "'"Code Secret: $SECRET"'"' \
-pointsize 25 -fill black -draw 'text 150,440 "'"Porte Monnaie Libre!! Utilisez avec https://cesium.app"'"' \
-pointsize 25 -fill black -draw 'text 150,440 "'"$BOTTOM"'"' \
"/tmp/${BILLETNAME}.jpg" "/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg"
rm -f /tmp/${BILLETNAME}.jpg