Add PLAYER
This commit is contained in:
parent
c57005f076
commit
5805aaf5dc
|
@ -45,7 +45,7 @@ CHOICE="$3"
|
||||||
&& OUTPUT=$(zenity --entry --width 640 --title="=> Astroport" --text="ASTRONAUTE ?" --entry-text=${players[@]}) \
|
&& 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 \
|
&& [[ $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)
|
PSEUDO=$(cat ~/.zen/game/players/${PLAYER}/.pseudo 2>/dev/null)
|
||||||
espeak "Hello $PSEUDO"
|
espeak "Hello $PSEUDO"
|
||||||
|
|
|
@ -280,7 +280,7 @@ if [[ $XDG_SESSION_TYPE == 'x11' ]]; then
|
||||||
## ON BOARDING PLAYER
|
## ON BOARDING PLAYER
|
||||||
~/.zen/Astroport.ONE/start.sh
|
~/.zen/Astroport.ONE/start.sh
|
||||||
~/.zen/Astroport.ONE/tools/displaytimer.sh 3
|
~/.zen/Astroport.ONE/tools/displaytimer.sh 3
|
||||||
espeak "Create your TW keys"
|
espeak "Enter your magic TW keys"
|
||||||
xdg-open "http://astroport.localhost:1234"
|
xdg-open "http://astroport.localhost:1234"
|
||||||
|
|
||||||
echo "EXPERIMENTAL ### RECOPIEZ VOS VSTREAM KODI DANS IPFS ## OUI ? ENTER sinon Ctrl+C"
|
echo "EXPERIMENTAL ### RECOPIEZ VOS VSTREAM KODI DANS IPFS ## OUI ? ENTER sinon Ctrl+C"
|
||||||
|
|
Loading…
Reference in New Issue