echo "LANCEZ curl "'"$G1BARRE"'" "
This commit is contained in:
parent
229fff932a
commit
12f2231a55
|
@ -154,8 +154,7 @@ composite -compose Over -gravity NorthWest -geometry +320+280 /tmp/MIZLOGO.png /
|
||||||
convert -gravity northwest -pointsize 28 -fill black -draw "text 32,350 \"Ğ1 VOEU\"" /tmp/two.png /tmp/pep.png
|
convert -gravity northwest -pointsize 28 -fill black -draw "text 32,350 \"Ğ1 VOEU\"" /tmp/two.png /tmp/pep.png
|
||||||
convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"$PEPPER\"" /tmp/pep.png /tmp/voeu.png
|
convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"$PEPPER\"" /tmp/pep.png /tmp/voeu.png
|
||||||
|
|
||||||
|
# IMAGE DANS IPFS
|
||||||
# IMAGE DASN IPFS
|
|
||||||
IVOEUPLAY=$(ipfs add -Hq /tmp/player.png | tail -n 1)
|
IVOEUPLAY=$(ipfs add -Hq /tmp/player.png | tail -n 1)
|
||||||
|
|
||||||
IVOEU=$(ipfs add -Hq /tmp/voeu.png | tail -n 1)
|
IVOEU=$(ipfs add -Hq /tmp/voeu.png | tail -n 1)
|
||||||
|
|
|
@ -45,6 +45,21 @@ for PLAYER in $(ls ~/.zen/game/players/); do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##########################
|
||||||
|
# Generate Corwdfunding Bars for each wish
|
||||||
|
for g1wish in $(ls ~/.zen/game/players/$PLAYER/voeux/); do
|
||||||
|
wishname=$(cat ~/.zen/game/players/$PLAYER/voeux/$g1wish/.title)
|
||||||
|
echo "VOEU $wishname : $g1wish"
|
||||||
|
# TOTO Install g1barre on localhost !!
|
||||||
|
G1BARRE="https://g1sms.fr/g1barre/image.php?pubkey=$g1wish&target=1000&title=$wishname&node=g1.duniter.org&start_date=2022-08-01&display_pubkey=true&display_qrcode=true&progress_color=ff07a4"
|
||||||
|
echo "LANCEZ curl "'"$G1BARRE"'" "
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
############################
|
||||||
|
|
||||||
|
|
||||||
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
||||||
[[ $DIFF ]] && cp ~/.zen/game/players/$PLAYER/ipfs/moa/.chain ~/.zen/game/players/$PLAYER/ipfs/moa/.chain.$MOATS
|
[[ $DIFF ]] && cp ~/.zen/game/players/$PLAYER/ipfs/moa/.chain ~/.zen/game/players/$PLAYER/ipfs/moa/.chain.$MOATS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue