diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh index 313c6aa0..e2829287 100755 --- a/ASTROBOT/PLAYER.refresh.sh +++ b/ASTROBOT/PLAYER.refresh.sh @@ -150,7 +150,7 @@ done [[ $DIFF ]] && cp ~/.zen/game/players/$PLAYER/ipfs/moa/.chain ~/.zen/game/players/$PLAYER/ipfs/moa/.chain.$MOATS TW=$(ipfs add -Hq ~/.zen/game/players/$PLAYER/ipfs/moa/index.html | tail -n 1) - ipfs name publish --key=$PLAYER /ipfs/$TW + ipfs name publish -t 72h --key=$PLAYER /ipfs/$TW [[ $DIFF ]] && echo $TW > ~/.zen/game/players/$PLAYER/ipfs/moa/.chain echo $MOATS > ~/.zen/game/players/$PLAYER/ipfs/moa/.moats diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh index 57ed07ac..3d531be0 100755 --- a/ASTROBOT/VOEUX.refresh.sh +++ b/ASTROBOT/VOEUX.refresh.sh @@ -36,6 +36,9 @@ do if [[ ! -s ~/.zen/tmp/work/index.html ]]; then echo "UNAVAILABLE WISH! If you want to remove $W $voeu" echo "ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu" + echo "=============================================" + echo "ipfs name publish -t 72h /ipfs/$(cat ~/.zen/game/world/$voeu/.chain)" + continue else ## Replace tube links with downloaded video @@ -58,7 +61,7 @@ do [[ $DIFF ]] && cp ~/.zen/game/world/$voeu/.chain ~/.zen/game/world/$voeu/.chain.$MOATS IPUSH=$(ipfs add -Hq ~/.zen/game/world/$voeu/index.html | tail -n 1) - ipfs name publish --key=${voeu} /ipfs/$IPUSH 2>/dev/null + ipfs name publish -t 72h --key=${voeu} /ipfs/$IPUSH 2>/dev/null [[ $DIFF ]] && echo $IPUSH > ~/.zen/game/world/$voeu/.chain echo $MOATS > ~/.zen/game/world/$voeu/.moats