diff --git a/RUNTIME/NODE.refresh.sh b/RUNTIME/NODE.refresh.sh index 436ccbc6..6cbfd616 100755 --- a/RUNTIME/NODE.refresh.sh +++ b/RUNTIME/NODE.refresh.sh @@ -51,8 +51,12 @@ if [[ -d ~/.zen/tmp/${IPFSNODEID} ]]; then cp -Rf ~/.zen/game/players/${PLAYER}/FRIENDS/* ~/.zen/tmp/${IPFSNODEID}/GCHANGE/${PLAYER}/FRIENDS/ 2>/dev/null done + ## INFORM GPS LOCATION cp ~/.zen/GPS ~/.zen/tmp/${IPFSNODEID}/ + [[ ! -s ~/.zen/tmp/${IPFSNODEID}/GPS ]] \ + && cp ~/.zen/game/players/.current/GPS.json ~/.zen/tmp/${IPFSNODEID}/ + ## REFRESH TIMESTAMPING echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats echo "$(date -u)" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.staom diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 5fa20bce..a9411fbc 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -185,6 +185,7 @@ for PLAYER in ${PLAYERONE[@]}; do ## STORE IN PLAYER CACHE echo "_${LAT}_${LON}" > ~/.zen/game/players/${PLAYER}/.umap + cp ~/.zen/tmp/${MOATS}/GPS.json ~/.zen/game/players/${PLAYER}/ ########### ASTROPORT is not IPFSNODEID => EJECT TW ## MOVED PLAYER (KEY IS KEPT ON LAST CONNECTED ASTROPORT) diff --git a/install.sh b/install.sh index 2507c782..7927e1d6 100755 --- a/install.sh +++ b/install.sh @@ -184,8 +184,8 @@ do echo "$line" >> ~/.bashrc done < ~/.zen/Astroport.ONE/ASCI_ASTROPORT.txt +## EXTEND PATH echo 'export PATH=$PATH:$HOME/.local/bin -CHROME_EXECUTABLE=/usr/bin/chromium ' >> ~/.bashrc && source ~/.bashrc echo "<<< UPDATED>>> PATH=$PATH"