diff --git a/docs/manual_installation.md b/docs/manual_installation.md index c210fa1611..9f9e618379 100644 --- a/docs/manual_installation.md +++ b/docs/manual_installation.md @@ -55,7 +55,7 @@ rm -f get-pip.py (Please keep in mind that `master` is stable and tested but `dev` is bleeding edge. In the installation note below change `master` to `dev` if you want to get and use the latest version.) ```bash -git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot +git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot.git cd PokemonGo-Bot ``` @@ -132,7 +132,7 @@ cd C:\Python27\ pip install --upgrade pip cd .. cd to PokemonGo-Bot directory -git clone --recursive -b dev https://github.com/PokemonGoF/PokemonGo-Bot +git clone --recursive -b dev https://github.com/PokemonGoF/PokemonGo-Bot.git pip install --upgrade -r requirements.txt git pull cd web diff --git a/runMultiBot.sh b/runMultiBot.sh index 2f8bc98fed..de6d01bd5a 100644 --- a/runMultiBot.sh +++ b/runMultiBot.sh @@ -10,7 +10,7 @@ then fi git fetch -a installed=(`pip list 2>/dev/null |sed -e 's/ //g' -e 's/(/:/' -e 's/)//' -e 's/[-_]//g' | awk '{print tolower($0)}'`) -required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==1.2.0/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) +required=(`cat requirements.txt | sed -e 's/.*pgoapi$/pgoapi==1.2.1/' -e 's/[-_]//g' -e 's/==\(.*\)/:\1/' | awk '{print tolower($0)}'`) for package in ${required[@]} do if [[ ! (${installed[*]} =~ $package) ]]; @@ -30,6 +30,11 @@ then ./setup.sh -u fi fi -python MultiBot.py +while true +do + python MultiBot.py + echo `date`" Pokebot "$*" Stopped." + read -p "Press any button or wait 20 seconds to continue. + " -r -s -n1 -t 20 done exit 0