From 7c1409e81054e7ed92b46fb233d1ef92cac50536 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 12 Jan 2023 23:42:49 +0100 Subject: [PATCH] make Astropage with PLAYERS QrCode --- tools/my.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/my.sh b/tools/my.sh index 2752512b..65741077 100755 --- a/tools/my.sh +++ b/tools/my.sh @@ -49,6 +49,18 @@ myAstroPath() { [ -n "$myAstroPath" ] && echo "$myAstroPath" } +#~ myAstroPlayersPage() { + #~ local myAstroPlayersPage=$(cat ~/.zen/tmp/myAstroPlayersPage) + #~ if [[ ! "$myAstroPlayersPage" ]]; then + #~ counter=1 + #~ for tw in ls ~/.zen/game/players/*/ipfs/moa/index.html; do + #~ tiddlywiki --load $tw --output ~/.zen/tmp --render '.' "${counter}G1Visa.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'G1Visa' + + #~ ((counter++)) + #~ done + #~ echo "$myAstroPlayersPage" +#~ } + myDate() { local myDate=$(date -u +"%Y%m%d%H%M%S%4N") [ -n "$myDate" ] && echo "$myDate"