Commit 2cb47fcf authored by Andrew Twyman's avatar Andrew Twyman

Merge pull request #200 from vmaks/master

adapt run script for windows (MINGW): add ability to run .bat file
parents f2e35572 808b9e63
......@@ -15,4 +15,12 @@ done
base_dir=$(cd "`dirname "$loc"`" && pwd)
"$base_dir/build"
exec "$base_dir/target/start" "$@"
# Determine os version and choose correspondent .sh or .bat file accordingly.
os_version="`uname -a`"
if [[ $os_version == *"MINGW"* ]]; then
cmd //C "$base_dir/target/start.bat" "$@"
else
exec "$base_dir/target/start" "$@"
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