From 9a2fcdb771cc4dfe6d9e097d0007c6551f67f62b Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 25 Aug 2022 20:30:02 +0200 Subject: [PATCH] Add a href Voeu link to ipns --- G1VOEUX.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/G1VOEUX.sh b/G1VOEUX.sh index 3f20beac..c2a95e9c 100755 --- a/G1VOEUX.sh +++ b/G1VOEUX.sh @@ -162,6 +162,8 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"Ğ1 VO ## Replace Template G1Voeu image sed -i "s~bafybeidhghlcx3zdzdah2pzddhoicywmydintj4mosgtygr6f2dlfwmg7a~${IVOEU}~g" ~/.zen/game/world/$WISHKEY/index.html + TEXT="" + # NEW IVEU TIDDLER echo "## Creation json tiddler : Qr${PEPPER} /ipfs/${IVOEU}" echo '[ @@ -169,9 +171,8 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"Ğ1 VO "title": "'Voeu${PEPPER}'", "type": "'image/jpeg'", "ipns": "'/ipns/$VOEUXNS'", - "text": "''", - "tags": "'$:/isAttachment $:/isEmbedded voeu ${PEPPER}'", - "_canonical_uri": "'/ipfs/${IVOEUPLAY}'" + "text": "'$TEXT'", + "tags": "'voeu ${PEPPER} qrcode'" } ] ' > ~/.zen/game/world/$WISHKEY/${PEPPER}.voeu.json