diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 1aa0cd22..bfcdf6f6 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -76,7 +76,7 @@ if [[ ${QRCODE:0:5} == "-----" ]]; then if [[ $PASS != "" ]]; then echo ${WHAT} ${VAL} - urldecode ${QRCODE} | tr '~' '\n' | tr '_' '+' > ~/.zen/tmp/${MOATS}/disco.aes + urldecode ${QRCODE} | tr '_' '+' | tr '-' '\n' | tr '~' '-' > ~/.zen/tmp/${MOATS}/disco.aes sed -i '$ d' ~/.zen/tmp/${MOATS}/disco.aes echo "cat ~/.zen/tmp/${MOATS}/disco.aes | gpg -d --passphrase "$PASS" --batch" diff --git a/ASTROBOT/G1DessinDeMoa.sh b/ASTROBOT/G1DessinDeMoa.sh old mode 100644 new mode 100755 diff --git a/ASTROBOT/G1Voeu.sh b/ASTROBOT/G1Voeu.sh index d00a15d2..60b844b3 100755 --- a/ASTROBOT/G1Voeu.sh +++ b/ASTROBOT/G1Voeu.sh @@ -100,7 +100,7 @@ mkdir -p ~/.zen/tmp/$MOATS cp ${MY_PATH}/../images/g1magicien.png ~/.zen/tmp/${MOATS}/result.png ## MAKE amzqr WITH astro:// LINK - amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc | tr '\n' '~' | tr '+' '_' | jq -Rr @uri)" \ + amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc | tr '-' '~' | tr '\n' '-' | tr '+' '_' | jq -Rr @uri )" \ -d "$HOME/.zen/game/world/$PEPPER/$WISHKEY" \ -l H \ -p ~/.zen/tmp/${MOATS}/result.png -c diff --git a/tools/VISA.new.sh b/tools/VISA.new.sh index 8c82e448..bf5a552c 100755 --- a/tools/VISA.new.sh +++ b/tools/VISA.new.sh @@ -210,7 +210,7 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" cp ${MY_PATH}/../images/astrologo_nb.png ~/.zen/tmp/${MOATS}/fond.png ## MAKE amzqr WITH astro:// ---- PGP LINK - amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc | tr '\n' '~' | tr '+' '_' | jq -Rr @uri)" \ + amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.${PSEUDO}.asc | tr '-' '~' | tr '\n' '-' | tr '+' '_' | jq -Rr @uri )" \ -d ~/.zen/tmp/${MOATS} \ -l H \ -p ~/.zen/tmp/${MOATS}/fond.png diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index f754e5de..0858ef4e 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -106,7 +106,7 @@ a {

(Ğ1) ♥Box Station


Oubliez la crise... N'attendez pas la Retraite !

-

Essayez la Monnaie Libre. Fabriquez un Monde Libre.

+

Essayez la Monnaie Libre.
Explorez le Monde Librement.

@@ -158,9 +158,13 @@ a { scanner.addListener('scan', function (content) { alert(content); - if (content.startsWith('-----')) { + if (content.startsWith('~~~~~')) { // Try to decode PGP - var mypub = document.getElementById("resu").innerHTML.value; + if (document.getElementById("resu").innerHTML !== '') { + var mypub = document.getElementById("resu").innerHTML.value; + } else { + var mypub = "DsEx1pS33vzYZg4MroyBV9hCw98j1gtHEhwiZ5tK7ech" + } var pass = prompt("Saisir PASS:"); var amount = prompt("Saisir MONTANT Ğ1:"); var myU = 'http://astroport.localhost:1234/?qrcode=' + content +'&pass=' + pass + '&pay=' + amount + '&g1pub=' + mypub ; @@ -169,9 +173,10 @@ a { var myU = 'http://astroport.localhost:1234/?qrcode=' + content; } console.log(myU); - fetchAstroport(myU) + homeAstroportStation(myU, 'aframe', 5000) + + // fetchAstroport(myU) - // homeAstroportStation(myU, 'aframe', 15123) }); Instascan.Camera.getCameras().then(function (cameras) { @@ -193,8 +198,8 @@ a { }); - -
Menu +

+