$(ipfs key list -l | grep $voeu | cut -d ' ' -f1) instead of g1_to_ipfs.py

This commit is contained in:
fred 2022-08-23 20:33:17 +02:00
parent d62cc78375
commit a8403fa8cd
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ select fav in "${choices[@]}"; do
case $voeu in
*) echo "IMPRESSION $voeu"
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
VOEUXNS=$($MY_PATH/tools/g1_to_ipfs.py $voeu)
VOEUXNS=$(ipfs key list -l | grep $voeu | cut -d ' ' -f1)
qrencode -s 12 -o "$HOME/.zen/game/world/$voeu/QR.WISHLINK.png" "http://$myIP:8080/ipns/$VOEUXNS"
convert $HOME/.zen/game/world/$voeu/QR.WISHLINK.png -resize 600 /tmp/QRWISHLINK.png
TITLE=$(cat ~/.zen/game/world/$voeu/.pepper)