Add PLAYER

This commit is contained in:
fred 2022-12-23 22:32:04 +01:00
parent c57005f076
commit 5805aaf5dc
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ CHOICE="$3"
&& OUTPUT=$(zenity --entry --width 640 --title="=> Astroport" --text="ASTRONAUTE ?" --entry-text=${players[@]}) \
&& [[ $OUTPUT ]] && PLAYER=$OUTPUT && rm -f ~/.zen/game/players/.current && ln -s ~/.zen/game/players/$PLAYER ~/.zen/game/players/.current \
[[ ${PLAYER} == "" ]] && exit 1
[[ ${PLAYER} == "" ]] && xdg-open "http://astroport.localhost:1234" && exit 1
PSEUDO=$(cat ~/.zen/game/players/${PLAYER}/.pseudo 2>/dev/null)
espeak "Hello $PSEUDO"

View File

@ -280,7 +280,7 @@ if [[ $XDG_SESSION_TYPE == 'x11' ]]; then
## ON BOARDING PLAYER
~/.zen/Astroport.ONE/start.sh
~/.zen/Astroport.ONE/tools/displaytimer.sh 3
espeak "Create your TW keys"
espeak "Enter your magic TW keys"
xdg-open "http://astroport.localhost:1234"
echo "EXPERIMENTAL ### RECOPIEZ VOS VSTREAM KODI DANS IPFS ## OUI ? ENTER sinon Ctrl+C"