RESTORE PLAYER GPS.json (can be erase by WISH treatment)

This commit is contained in:
fred 2024-03-09 01:28:18 +01:00
parent 9956a13378
commit be8cc678f8
2 changed files with 3 additions and 2 deletions

View File

@ -268,7 +268,6 @@ for PLAYER in ${PLAYERONE[@]}; do
### CHECK FOR pending (TODO! In case PAY4SURE have abandonned pendings) ### CHECK FOR pending (TODO! In case PAY4SURE have abandonned pendings)
################### ###################
# REFRESH PLAYER_feed # # REFRESH PLAYER_feed #
################################## ##################################
@ -297,6 +296,8 @@ for PLAYER in ${PLAYERONE[@]}; do
#~ echo '[{"title":"$:/plugins/astroport/lightbeams/state/subscriptions","text":"'${FRIENDSFEEDS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/friends.json #~ echo '[{"title":"$:/plugins/astroport/lightbeams/state/subscriptions","text":"'${FRIENDSFEEDS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/friends.json
#~ ## ADD --import "$HOME/.zen/tmp/${MOATS}/friends.json" "application/json" \ ## MANUAL TW RSS REGISTRATION #~ ## ADD --import "$HOME/.zen/tmp/${MOATS}/friends.json" "application/json" \ ## MANUAL TW RSS REGISTRATION
## PATCH : RESTORE PLAYER GPS.json (can be erase by WISH treatment)
cp -f ~/.zen/game/players/${PLAYER}/GPS.json ~/.zen/tmp/${MOATS}/
## WRITE TIDDLERS IN TW SECTORTW_NEWS.json ## WRITE TIDDLERS IN TW SECTORTW_NEWS.json
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
--import ~/.zen/tmp/${MOATS}/GPS.json "application/json" \ --import ~/.zen/tmp/${MOATS}/GPS.json "application/json" \

View File

@ -2,7 +2,7 @@
{ {
"text": "_SECTORTW_", "text": "_SECTORTW_",
"tags": "load-external _PLAYER_ $:/tags/load-external-content", "tags": "load-external _PLAYER_ $:/tags/load-external-content",
"title": "_SECTOR_NEWS", "title": "_SECTOR_.NEWS",
"content-filter": "[days[-1]!is[system]!tag[G1Voeu]]", "content-filter": "[days[-1]!is[system]!tag[G1Voeu]]",
"notes": "refreshing at startup, with <<tag $:/tags/load-external-content>>", "notes": "refreshing at startup, with <<tag $:/tags/load-external-content>>",
"deserializer": "text/html" "deserializer": "text/html"