forked from fanch-le-colporteur/G1BILLET
if [[ "${STYLE}" == "xbian" ]] ASTROPORT KODI !! https://gchange.fr
This commit is contained in:
parent
666b25b313
commit
a82d9f660f
|
@ -73,8 +73,10 @@ if [[ "${STYLE}" == "xbian" ]]
|
||||||
then
|
then
|
||||||
# CREATE PSEUDO for Gchange.fr
|
# CREATE PSEUDO for Gchange.fr
|
||||||
XZUID=$(${MY_PATH}/diceware.sh 1 | xargs)${RANDOM:0:2}$(${MY_PATH}/diceware.sh 1 | xargs)
|
XZUID=$(${MY_PATH}/diceware.sh 1 | xargs)${RANDOM:0:2}$(${MY_PATH}/diceware.sh 1 | xargs)
|
||||||
|
BOTTOM="ASTROPORT KODI !! https://gchange.fr"
|
||||||
else
|
else
|
||||||
XZUID="G1 BILLET"
|
XZUID="G1 BILLET"
|
||||||
|
BOTTOM="Porte Monnaie Libre!! Utilisez avec https://cesium.app"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
convert -font 'Liberation-Sans' \
|
convert -font 'Liberation-Sans' \
|
||||||
|
@ -82,7 +84,7 @@ convert -font 'Liberation-Sans' \
|
||||||
-pointsize 40 -fill black -draw 'text 75,50 "'"$XZUID"'"' \
|
-pointsize 40 -fill black -draw 'text 75,50 "'"$XZUID"'"' \
|
||||||
-pointsize 30 -draw 'text 50,100 "'"Identifiant: $NUMERO"'"' \
|
-pointsize 30 -draw 'text 50,100 "'"Identifiant: $NUMERO"'"' \
|
||||||
-pointsize 22 -fill black -draw 'text 50,130 "'"Code Secret: $SECRET"'"' \
|
-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"
|
"/tmp/${BILLETNAME}.jpg" "/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg"
|
||||||
|
|
||||||
rm -f /tmp/${BILLETNAME}.jpg
|
rm -f /tmp/${BILLETNAME}.jpg
|
||||||
|
|
Loading…
Reference in New Issue