diff --git a/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py b/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py index 6b03a96..b22b518 100644 --- a/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py +++ b/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py @@ -14,7 +14,7 @@ import random SITE_IDENTIFIER = 'astroport' SITE_NAME = 'ASTROPORT _PROFIL_ (_LOGIN_) (_MDP_)' -SITE_DESC = 'Astroport permet de partager le contenu du répertoire ~/astroport avec ses amis https://gchange.fr' +SITE_DESC = 'Partage ~/astroport/films (animes, series) avec ses amis https://cesium.app via IPFS' URL_MAIN = 'http://localhost:8080/ipns/_IPNSKEY_/xbian/' diff --git a/ISOconfig.sh b/ISOconfig.sh index 0cc5497..751479f 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -147,6 +147,9 @@ cp -f ~/.zen/astroport/.install/.kodi/addons/plugin.video.vstream/resources/site ipfs key rm xbian IPNSKEY=$(ipfs key gen xbian) sed -i s/_IPNSKEY_/$IPNSKEY/g ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py +sed -i s/_PROFIL_/$XZUID/g ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py +sed -i s/_LOGIN_/$salt/g ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py +sed -i s/_MDP_/$pepper/g ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py ~/.zen/astroport/zen/gchange_IPFS_swarm.sh ~/.zen/astroport/zen/ipfs_SWARM_refresh.sh @@ -177,6 +180,22 @@ echo 'INSTALL Astroport cron_MINUTE' # sudo sed -i s/su/\#su/g /etc/rc.local # BETTER NOT: Send new 'ipfstryme' message on each boot is done instead +echo "CHANGE hostname" +sudo sed -i s/xbian/$XZUID/g /etc/hostname +sudo sed -i s/xbian/$XZUID/g /etc/hosts + +echo "CHANGE DNS" # Avoid provider restrictions +sudo cat > /etc/resolv.conf < "/tmp/_gchange.avatar.png" +curl -s ${GCHANGE}/user/profile/${G1PUB} | jq -r '._source.avatar._content' | base64 -d > "/tmp/_gchange.avatar.png" # Get nodename [[ -f /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename ]] && nodename=$(cat /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename) @@ -100,7 +100,7 @@ IWALLETS=$(ipfs add -rHq ~/.zen/ipfs | tail -n 1) NODEIPNS=$(ipfs name publish --allow-offline --quieter /ipfs/$IWALLETS) ### -# GET ALL MY CESIUMPLUS FRIENDS AND SEND THEM my IPFS Address +# GET ALL MY GCHANGE FRIENDS AND SEND THEM my IPFS Address cd ~/.zen/astroport/zen/jaklis # GET LIST of issuer(s) who likes me