From be8cc678f86cbe4faa69ddc6f0e39e786edee0ea Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 9 Mar 2024 01:28:18 +0100 Subject: [PATCH] RESTORE PLAYER GPS.json (can be erase by WISH treatment) --- RUNTIME/PLAYER.refresh.sh | 3 ++- templates/data/SECTORTW_NEWS.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index c8806423e..7886c7798 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -268,7 +268,6 @@ for PLAYER in ${PLAYERONE[@]}; do ### CHECK FOR pending (TODO! In case PAY4SURE have abandonned pendings) - ################### # 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 #~ ## 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 tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ --import ~/.zen/tmp/${MOATS}/GPS.json "application/json" \ diff --git a/templates/data/SECTORTW_NEWS.json b/templates/data/SECTORTW_NEWS.json index 113132d97..b5a5d0b0f 100644 --- a/templates/data/SECTORTW_NEWS.json +++ b/templates/data/SECTORTW_NEWS.json @@ -2,7 +2,7 @@ { "text": "_SECTORTW_", "tags": "load-external _PLAYER_ $:/tags/load-external-content", - "title": "_SECTOR_NEWS", + "title": "_SECTOR_.NEWS", "content-filter": "[days[-1]!is[system]!tag[G1Voeu]]", "notes": "refreshing at startup, with <>", "deserializer": "text/html"