forked from STI/Astroport.ONE
empty AstroID
This commit is contained in:
parent
eb07ce7e86
commit
d32b9938ab
|
@ -160,7 +160,7 @@ for PLAYER in ${PLAYERONE[@]}; do
|
||||||
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
||||||
--output ~/.zen/tmp/${MOATS} \
|
--output ~/.zen/tmp/${MOATS} \
|
||||||
--render '.' 'AstroID.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'AstroID' ## AstroID Tiddler
|
--render '.' 'AstroID.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'AstroID' ## AstroID Tiddler
|
||||||
|
[[ $(cat ~/.zen/tmp/${MOATS}/AstroID.json) == "[]" ]] && rm ~/.zen/tmp/${MOATS}/AstroID.json
|
||||||
########################################## used by Astroport :: Lasertag :: TW plugin ##
|
########################################## used by Astroport :: Lasertag :: TW plugin ##
|
||||||
## CHECK "$:/config/NewTiddler/Tags"
|
## CHECK "$:/config/NewTiddler/Tags"
|
||||||
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
||||||
|
|
|
@ -69,7 +69,7 @@ mkdir -p ~/.zen/tmp/${MOATS}
|
||||||
ipfs key rm ${PLAYER}; ipfs key rm ${PLAYER}_feed; ipfs key rm ${G1PUB};
|
ipfs key rm ${PLAYER}; ipfs key rm ${PLAYER}_feed; ipfs key rm ${G1PUB};
|
||||||
for vk in $(ls -d ~/.zen/game/players/${PLAYER}/voeux/*/* 2>/dev/null | rev | cut -d / -f 1 | rev); do
|
for vk in $(ls -d ~/.zen/game/players/${PLAYER}/voeux/*/* 2>/dev/null | rev | cut -d / -f 1 | rev); do
|
||||||
echo "removing wish ${vk}"
|
echo "removing wish ${vk}"
|
||||||
ipfs key rm ${vk}
|
[[ ${vk} != "" ]] && ipfs key rm ${vk}
|
||||||
done
|
done
|
||||||
|
|
||||||
## SEND PLAYER LAST KNOW TW
|
## SEND PLAYER LAST KNOW TW
|
||||||
|
|
Loading…
Reference in New Issue