1
0
Fork 0

Script de démarrage de match complet (Normalement)

Modification de l'auto-config pour que ce soit pas trop chiant avec le match complet
This commit is contained in:
trotFunky 2018-04-30 23:32:23 +02:00
parent f51888ecfc
commit dadac7c1ec
2 changed files with 16 additions and 1 deletions

13
Perso/MATCH_BEGIN.sh Executable file
View file

@ -0,0 +1,13 @@
#! /bin/bash
x-term -e "~/Documents/TechTheTown-HighLevel/config/auto_config.sh"
couleur=$(grep $configFile -e "^COULEUR" | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 2)
if [ couleur = "orange" ]; then
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionOrange.py;exit"
else
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionGreen.py;exit"
fi
xterm -e "cd ~/Documents/TechTheTown-HighLevel; java -jar techthetown-highlevel.jar;cd - "

View file

@ -139,3 +139,5 @@ fi
echo "" echo ""
echo "May the Force be with Aspie" echo "May the Force be with Aspie"
exit