From 324601fb788c1720166a53ec78b4193a22b137e6 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 13 Jan 2023 18:12:09 +0100 Subject: [PATCH] cp ~/.zen/Astroport.ONE/templates/twdefault.html ~/.zen/tmp/${MOATS}/TW/index.html --- tools/VISA.new.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/VISA.new.sh b/tools/VISA.new.sh index 0369ab9d..00fadf2c 100755 --- a/tools/VISA.new.sh +++ b/tools/VISA.new.sh @@ -204,6 +204,7 @@ WID="http://ipfs.$(myHostName):5001" ############ TODO améliorer templates, sed, ajouter index.html, etc... mkdir -p ~/.zen/game/players/${PLAYER}/ipfs/moa/ + [[ ! -s ~/.zen/tmp/${MOATS}/TW/index.html ]] && cp ~/.zen/Astroport.ONE/templates/twdefault.html ~/.zen/tmp/${MOATS}/TW/index.html sed "s~_BIRTHDATE_~${MOATS}~g" ~/.zen/tmp/${MOATS}/TW/index.html > ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html # INSERT ASTROPORT ADRESS