This commit is contained in:
fred 2023-04-03 18:40:23 +02:00
parent f7a413ce36
commit f59c4b3d9c
2 changed files with 11 additions and 19 deletions

View File

@ -71,17 +71,17 @@ Content-Type: text/html; charset=UTF-8
########################################
## ARCHIVE TOCTOC ${WHAT}S KEEP LOG (TODO : ERASE)
########################################
mkdir -p ~/.zen/game/players/.toctoc/
ISTHERE=$(ls -t ~/.zen/game/players/.toctoc/*.${G1PUB}.ipns.key 2>/dev/null | tail -n 1 | cut -d '.' -f 1)
TTIME=$(echo $ISTHERE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev)
if [[ ! $ISTHERE ]]; then
echo "${APPNAME} 1ST TOCTOC : ${MOATS}"
cp ~/.zen/tmp/coucou/${MOATS}.* ~/.zen/game/players/.toctoc/
else ## KEEP 1ST CONTACT ONLY
OLDONE=$(ls -t ~/.zen/tmp/coucou/*.${G1PUB}.ipns.key | tail -n 1)
DTIME=$(echo $OLDONE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev)
[[ $DTIME != ${MOATS} ]] && rm ~/.zen/tmp/coucou/$DTIME.*
fi
#~ mkdir -p ~/.zen/game/players/.toctoc/
#~ ISTHERE=$(ls -t ~/.zen/game/players/.toctoc/*.${G1PUB}.ipns.key 2>/dev/null | tail -n 1 | cut -d '.' -f 1)
#~ TTIME=$(echo $ISTHERE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev)
#~ if [[ ! $ISTHERE ]]; then
#~ echo "${APPNAME} 1ST TOCTOC : ${MOATS}"
#~ cp ~/.zen/tmp/coucou/${MOATS}.* ~/.zen/game/players/.toctoc/
#~ else ## KEEP 1ST CONTACT ONLY
#~ OLDONE=$(ls -t ~/.zen/tmp/coucou/*.${G1PUB}.ipns.key | tail -n 1)
#~ DTIME=$(echo $OLDONE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev)
#~ [[ $DTIME != ${MOATS} ]] && rm ~/.zen/tmp/coucou/$DTIME.*
#~ fi
########################################
## APPNAME SELECTION ########################

View File

@ -153,13 +153,6 @@ TODO:
<div id="showoff">
<div id="container">
<!--
<button id="ginfo" onclick="javascript:var x = document.getElementById('green'); if (x.style.visibility === 'hidden') {x.style.visibility = 'visible';} else {x.style.visibility = 'hidden';}">0/1</button>
<div id="green" >
<iframe name="gframe" id="gframe" src="_STATION_" width="100%" height="480px"></iframe>
</div>
-->
<div class="slidecontainer">
@ -173,7 +166,6 @@ TODO:
</div>
<script>
document.getElementById('green').style.visibility === 'hidden'
function FriendWithMe() {
let cookies = document.cookie;