Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Commit

Permalink
Add support for running wiht git bash (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci authored and Xianwen Chen committed Dec 30, 2018
1 parent ed413cf commit 625c78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ base_dir=$(cd "`dirname "$loc"`" > /dev/null && pwd)
# Determine os version and choose correspondent .sh or .bat file accordingly.
os_version="`uname -a`"

if [[ $os_version == *"MINGW"* ]]; then
if [[ $os_version == *"MINGW"* ]] || [[ $os_version == *"MSYS_NT"* ]]; then
cmd //C "$base_dir/target/start.bat" "$@"
else
exec "$base_dir/target/start" "$@"
Expand Down

0 comments on commit 625c78d

Please sign in to comment.