From a8403fa8cdd039a386b46983e884c176d6ddb24d Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 23 Aug 2022 20:33:17 +0200 Subject: [PATCH] $(ipfs key list -l | grep $voeu | cut -d ' ' -f1) instead of g1_to_ipfs.py --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index c0275d69..b24c0ae8 100755 --- a/start.sh +++ b/start.sh @@ -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)