forked from STI/Astroport.ONE
espeak "Astroport Empty. Enter your magic email"
This commit is contained in:
parent
5805aaf5dc
commit
a831e557b7
|
@ -45,7 +45,11 @@ 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} == "" ]] && xdg-open "http://astroport.localhost:1234" && exit 1
|
||||
[[ ${PLAYER} == "" ]] \
|
||||
&& ${MY_PATH}/start.sh \
|
||||
&& espeak "Astroport Empty. Enter your magic email" \
|
||||
&& xdg-open "http://astroport.localhost:1234" \
|
||||
&& exit 1
|
||||
|
||||
PSEUDO=$(cat ~/.zen/game/players/${PLAYER}/.pseudo 2>/dev/null)
|
||||
espeak "Hello $PSEUDO"
|
||||
|
|
Loading…
Reference in New Issue