Run.sh 326 B

12345678910111213141516
  1. #!/bin/bash
  2. if [$1 = ""]
  3. then
  4. echo "please input config file! for example:"
  5. echo "bash Run.sh Config/StartConfig/192.168.12.188.txt"
  6. exit 9
  7. fi
  8. xbuild ./Server/Server.sln
  9. cd Bin
  10. cmake ..
  11. make
  12. ps -ef | grep App.exe | awk '{print $2}' | xargs kill -9
  13. mono --debug App.exe --appId=1 --appType=Manager --config=../$1