From 60e7669f52ef6ebf5554cc1340e38e44d4e8f89a Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 13 Apr 2023 14:52:12 +0200 Subject: [PATCH] QRLINK new --- ASTROBOT/VOEUX.refresh.sh | 6 +++--- templates/twdefault.html | 29 ++++++++++++++++------------- tools/VISA.new.sh | 2 +- www/PasseportTerre/index.html | 2 +- 4 files changed, 21 insertions(+), 18 deletions(-) diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh index dca84a84..afc7f43c 100755 --- a/ASTROBOT/VOEUX.refresh.sh +++ b/ASTROBOT/VOEUX.refresh.sh @@ -186,9 +186,9 @@ do ################################## ## INSERT PLAYER G1 QRCODE : QRG1avatar.png - #~ [[ ! -s ~/.zen/game/players/${PLAYER}/QRG1avatar.dir.ipfs ]] # REACTIVATE .? - rm ~/.zen/game/players/${PLAYER}/QRG1avatar.dir.ipfs ## TO REMOVE - QRLINK=$(ipfs add -qw ~/.zen/game/players/${PLAYER}/voeu/${WISHNAME}/${VOEUKEY}/voeu.png | tail -n 1) + QRLINK=$(ipfs add -qw ~/.zen/game/players/${PLAYER}/voeux/${WISHNAME}/${VOEUKEY}/voeu.png | tail -n 1) + [[ $QRLINK == "" ]] && QRLINK=$(ipfs add -qw ~/.zen/game/players/${PLAYER}/QRG1avatar.png | tail -n 1) + ################################## PasseportTerre/index.html cat $MY_PATH/../www/PasseportTerre/index.html \ diff --git a/templates/twdefault.html b/templates/twdefault.html index 1a2a12d7..9af657fa 100644 --- a/templates/twdefault.html +++ b/templates/twdefault.html @@ -140,7 +140,7 @@ Error message and password prompt

This TiddlyWiki contains the following tiddlers: