From e6ec65aeed645a076a4a5022eb7996694f570c4e Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 23 Aug 2022 14:04:32 +0200 Subject: [PATCH] jaklis path adapt --- astroscan.sh | 2 +- start.sh | 2 +- tools/Connect_PLAYER_To_Gchange.sh | 8 ++++---- youtube-dl.sh | 0 4 files changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 youtube-dl.sh diff --git a/astroscan.sh b/astroscan.sh index d6911533..384cdcbd 100755 --- a/astroscan.sh +++ b/astroscan.sh @@ -117,7 +117,7 @@ sudo cat /dev/ttyACM0 | while read line; do if [[ ! -f ~/.zen/game/world/.gchange.$G1PUB ]] then echo "CREATION ANNONCE CROWDFUNDING" - echo ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/tmp/secret.dunikey -n "https://data.gchange.fr" setoffer -t "${TITLE} #ASTROMIZ" -d "http://127.0.0.1:8080/ipns/$RESSOURCENS - Gratitude Astronaute $PLAYER" -p $HOME/.zen/Astroport.ONE/images/moa_net.png + echo $MY_PATH/tools/jaklis/jaklis.py -k ~/.zen/tmp/secret.dunikey -n "https://data.gchange.fr" setoffer -t "${TITLE} #ASTROMIZ" -d "http://127.0.0.1:8080/ipns/$RESSOURCENS - Gratitude Astronaute $PLAYER" -p $HOME/.zen/Astroport.ONE/images/moa_net.png # echo $GOFFER > ~/.zen/game/world/.gchange.$G1PUB fi diff --git a/start.sh b/start.sh index 4d95aa21..eed4bd09 100755 --- a/start.sh +++ b/start.sh @@ -104,7 +104,7 @@ select fav in "${choices[@]}"; do [[ $voeu != "" ]] && rm -Rf ~/.zen/game/world/$voeu done echo "rm -Rf ~/.zen/game/players/$PLAYER" - ~/.zen/astrXbian/zen/jaklis/jaklis.py -k $HOME/.zen/tmp/${PLAYER}.dunikey -n https://data.gchange.fr erase + $MY_PATH/tools/jaklis/jaklis.py -k $HOME/.zen/tmp/${PLAYER}.dunikey -n https://data.gchange.fr erase # ~/.zen/astrXbian/zen/jaklis/jaklis.py -k $HOME/.zen/tmp/${PLAYER}.dunikey -n https://g1.data.e-is.pro erase rm -Rf ~/.zen/game/players/$PLAYER diff --git a/tools/Connect_PLAYER_To_Gchange.sh b/tools/Connect_PLAYER_To_Gchange.sh index a8fabad4..1c922622 100755 --- a/tools/Connect_PLAYER_To_Gchange.sh +++ b/tools/Connect_PLAYER_To_Gchange.sh @@ -11,12 +11,12 @@ ASTRONAUTENS=$(ipfs key list -l | grep -w "$PLAYER" | cut -d ' ' -f 1) ######################################################################## echo "CREATING $PLAYER GCHANGE+ PROFILE" ######################################################################## -~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://data.gchange.fr" set --name "Astronaute $PLAYER" --avatar "/home/$USER/.zen/astrXbian/logo.png" --site "http://127.0.0.1:8080/ipns/$ASTRONAUTENS" #GCHANGE+ +$MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://data.gchange.fr" set --name "Astronaute $PLAYER" --avatar "/home/$USER/.zen/astrXbian/logo.png" --site "http://127.0.0.1:8080/ipns/$ASTRONAUTENS" #GCHANGE+ [[ ! $? == 0 ]] && echo "GCHANGE PROFILE CREATION FAILED" && exit 1 ######################################################################## #echo "CREATING $PLAYER CESIUM+ PROFILE" ######################################################################## -#~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://g1.data.e-is.pro" set --name "Astronaute $PLAYER" --avatar "/home/$USER/.zen/astrXbian/logo.png" --site "http://127.0.0.1:8080/ipns/$ASTRONAUTENS" #CESIUM+ +#$MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://g1.data.e-is.pro" set --name "Astronaute $PLAYER" --avatar "/home/$USER/.zen/astrXbian/logo.png" --site "http://127.0.0.1:8080/ipns/$ASTRONAUTENS" #CESIUM+ #[[ ! $? == 0 ]] && echo "CESIUM PROFILE CREATION FAILED" && exit 1 ######################################################################## @@ -29,9 +29,9 @@ if [[ $bootnode != "" ]]; then ipfsnodeid=${bootnode##*/} g1node=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) echo "SENDING STAR TO BOOTSTRAP NODE : $g1node" - ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://data.gchange.fr" stars -p $g1node -n 1 + $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://data.gchange.fr" stars -p $g1node -n 1 ### DELETE - # ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" unstars -p $g1node + # jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" unstars -p $g1node fi done diff --git a/youtube-dl.sh b/youtube-dl.sh old mode 100644 new mode 100755