From 74071104b091457aa367a7f4651840eb496d464a Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 3 Jul 2023 17:05:53 +0200 Subject: [PATCH] 2L8vaYixCf97DMT8SistvQFeBj7vb6RQL7tvwyiv1XVH --- ASTROBOT/G1Kodi.sh | 11 ++++++++++- www/G1PalPay/index.html | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ASTROBOT/G1Kodi.sh b/ASTROBOT/G1Kodi.sh index 0cbca516..3ef2b5ce 100755 --- a/ASTROBOT/G1Kodi.sh +++ b/ASTROBOT/G1Kodi.sh @@ -51,7 +51,16 @@ tiddlywiki --load ${INDEX} \ --output ~/.zen/game/players/${PLAYER}/G1Kodi \ --render '.' 'Kodi.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'Kodi' -[[ ! -s ~/.zen/game/players/${PLAYER}/G1Kodi/Kodi.json ]] && echo "AUCUN G1VOEU KODI - EXIT -" && exit 0 +## Second export try +#~ if [[ ! -s ~/.zen/game/players/${PLAYER}/G1Kodi/Kodi.json ]] ; then + #~ tiddlywiki --load ${INDEX} \ + #~ --output ~/.zen/game/players/${PLAYER}/G1Kodi \ + #~ --render '.' 'Kodi.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1Kodi]]' + + #~ fi + +[[ ! -s ~/.zen/game/players/${PLAYER}/G1Kodi/Kodi.json ]] && echo "AUCUN VOEU G1KODI - EXIT -" && exit 0 + WISH=$(cat ~/.zen/game/players/${PLAYER}/G1Kodi/Kodi.json | jq -r '.[].wish') WISHNS=$(cat ~/.zen/game/players/${PLAYER}/G1Kodi/Kodi.json | jq -r '.[].wishns') diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index d30ab0be..9eec0a56 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -139,7 +139,7 @@ a {

___

-

+

G1PUB destinataire