cp ~/.zen/Astroport.ONE/templates/twdefault.html ~/.zen/tmp/${MOATS}/TW/index.html

This commit is contained in:
fred 2023-01-13 18:12:09 +01:00
parent 35c06ec0dd
commit 324601fb78
1 changed files with 1 additions and 0 deletions

View File

@ -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