diff --git a/README.md b/README.md index 9413a231..37b0f516 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ If you know Python, web technologies (JS, HTML, CSS, etc.) or both, make a fork, * From the Docker Quickstart Terminal (Windows) or from the command line (Mac / Linux) type: ```bash -git clone https://github.com/OpenDroneMap/WebODM +git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input cd WebODM ./webodm.sh start ``` diff --git a/webodm.sh b/webodm.sh index 738c86fc..18bb4713 100755 --- a/webodm.sh +++ b/webodm.sh @@ -12,6 +12,10 @@ case $uname in ;; esac +if [[ $platform = "Windows" ]]; then + export COMPOSE_CONVERT_WINDOWS_PATHS=1 +fi + usage(){ echo "Usage: $0 [options]" echo @@ -42,7 +46,7 @@ check_command(){ # Recurse, but don't pass the install command check_command "$1" "$2" else - check_msg_result="\033[91m can't find $1! Check that the program is installed before launching WebODM. $2\033[39m" + check_msg_result="\033[91m can't find $1! Check that the program is installed and that you have added the proper path to the program to your PATH environment variable before launching WebODM. If you change your PATH environment variable, remember to close and reopen your terminal. $2\033[39m" fi fi