This commit is contained in:
fred 2023-04-21 04:18:26 +02:00
parent 26179c0ff2
commit f99cdd2e1c
2 changed files with 5 additions and 6 deletions

View File

@ -361,17 +361,16 @@ CURPLAYER=$(cat ~/.zen/game/players/.current/.player)
CURG1=$(cat ~/.zen/game/players/.current/.g1pub)
echo "${MY_PATH}/../tools/jaklis/jaklis.py balance -p ${CURG1}"
CURCOINS=$(${MY_PATH}/../tools/COINScheck.sh ${CURG1} | tail -n 1)
echo "AUTOGRAPH PLAYER : $CURCOINS G1"
echo "AUTOGRAPH $CURPLAYER : $CURCOINS G1"
## WALLET VIERGE
###########################################
if [[ $CURCOINS == "null" ]]; then
echo "NULL. PLEASE CHARGE. REDIRECT TO WSTATION HOME"
echo "NULL. PLEASE CHARGE. OR CHECK DUNITER"
sed "s~_TWLINK_~$(cat ~/.zen/tmp/WSTATION)~g" ${MY_PATH}/../templates/index.302 > ~/.zen/tmp/${MOATS}/index.redirect
sed -i "s~Set-Cookie*~Set-Cookie: $COOKIE~" ~/.zen/tmp/${MOATS}/index.redirect
echo "url='"${myIPFSGW}$(cat ~/.zen/tmp/WSTATION)"'" >> ~/.zen/tmp/${MOATS}/index.redirect
echo "${HTTPCORS}" > ~/.zen/tmp/${MOATS}/index.redirect
echo "<h1>PROBLEM : $CURCOINS Ǧ1</h1> Ask admin to check Duniter parameters in ./tools/jaklis/.env" >> ~/.zen/tmp/${MOATS}/index.redirect
(
cat ~/.zen/tmp/${MOATS}/index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1
echo "BLURP $PORT" && rm -Rf ~/.zen/tmp/${MOATS}

View File

@ -124,7 +124,7 @@ a {
<strong><div id="countdown"></div></strong>
<div id="appname">
<input type="radio" id="r0" name="appname" value="login"> Login TW
<input type="radio" id="r1" name="appname" value="read"> (G)Messagerie
<input type="radio" id="r1" name="appname" value="read"> Messagerie
<input type="radio" id="r2" name="appname" value="history"> Historique
<input type="radio" id="r3" name="appname" value="pay"> Virement
<input type="radio" id="r3" name="appname" value="balance" checked="checked"> Balance