From 1baf35881515ed424f1bc47fbf3a412de28453d0 Mon Sep 17 00:00:00 2001
From: fred
Date: Sat, 8 Apr 2023 14:37:21 +0200
Subject: [PATCH] AVOID EMPTY CURCHAIN
---
ASTROBOT/PLAYER.refresh.sh | 2 +-
ASTROBOT/VOEUX.refresh.sh | 1 +
www/PasseportTerre/index.html | 8 ++++----
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh
index 65a89777..c896e470 100755
--- a/ASTROBOT/PLAYER.refresh.sh
+++ b/ASTROBOT/PLAYER.refresh.sh
@@ -110,7 +110,7 @@ for PLAYER in ${PLAYERONE[@]}; do
--render '.' 'Astroport.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'Astroport'
ASTROPORT=$(cat ~/.zen/tmp/${MOATS}/Astroport.json | jq -r .[].astroport)
CURCHAIN=$(cat ~/.zen/tmp/${MOATS}/Astroport.json | jq -r .[].chain | rev | cut -f 1 -d '/' | rev) # Remove "/ipfs/" part
-
+ [[ $CURCHAIN == "" ]] && CURCHAIN="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" # AVOID EMPTY
IPNSTAIL=$(echo ${ASTROPORT} | rev | cut -f 1 -d '/' | rev) # Remove "/ipns/" part
echo "TW ASTROPORT GATEWAY : ${ASTROPORT}"
diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh
index e69ec0f0..a851d68a 100755
--- a/ASTROBOT/VOEUX.refresh.sh
+++ b/ASTROBOT/VOEUX.refresh.sh
@@ -194,6 +194,7 @@ do
| sed -e "s~_LIBRA_~$(myIpfsGw)~g" \
-e "s~_G1VOEU_~${WISHNAME}~g" \
-e "s~_PLAYER_~${PLAYER}~g" \
+ -e "s~_____~${COINS}~g" \
-e "s~_G1PUB_~${G1PUB}~g" \
-e "s~_VOEUNS_~${VOEUNS}~g" \
-e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \
diff --git a/www/PasseportTerre/index.html b/www/PasseportTerre/index.html
index d42b28ac..5e8f6e8e 100644
--- a/www/PasseportTerre/index.html
+++ b/www/PasseportTerre/index.html
@@ -107,8 +107,8 @@
#green {
background: black;
position: absolute;
- top: 2%;
- right: 2%;
+ top: 12%;
+ right: 3%;
width: 45%;
}
@@ -223,9 +223,9 @@
-
+ :⚡:~ Cesium ~:📱: _____
- 🏡 :
+