This commit is contained in:
fred 2023-04-16 22:43:36 +02:00
parent 3190f0795a
commit 3cdeb73053
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ do
##################################
## INSERT PLAYER G1 QRCODE : QRG1avatar.png
QRLINK=$(ipfs add -q ~/.zen/game/players/${PLAYER}/voeux/${WISHNAME}/${VOEUKEY}/voeu.png | tail -n 1)
[[ -s ~/.zen/game/players/${PLAYER}/voeux/${WISHNAME}/${VOEUKEY}/voeu.png ]] \
&& QRLINK=$(ipfs add -q ~/.zen/game/players/${PLAYER}/voeux/${WISHNAME}/${VOEUKEY}/voeu.png | tail -n 1)
[[ $QRLINK == "" ]] && QRLINK=$(ipfs add -q ~/.zen/game/players/${PLAYER}/QRG1avatar.png | tail -n 1)