Commit c57bedf9 authored by mercury233's avatar mercury233

add linux botwrapper

parent bc692f39
#!/bin/bash
cd windbot
if [ "$#" -ne 3 ]; then
mono WindBot.exe
else
command=$1
flag=$2
port=$3
arg="${command//\'/\"}" # replace ' to "
if [ "$flag" -eq 1 ]; then arg=$arg" Hand=1"; fi
arg=$arg" Port="$port
eval "mono WindBot.exe "$arg
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment