diff --git a/install.sh b/install.sh index c4558ed..a9c1c6f 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ start_line_spinner() { echo -e "${BLUE}|${NC} $msg" return } - local chars="${MO_SPINNER_CHARS:-|/-\\}" + local chars="|/-\\" [[ -z "$chars" ]] && chars='|/-\\' local i=0 (while true; do @@ -436,6 +436,12 @@ download_binary() { return 0 fi + if [[ "${MOLE_EDGE_INSTALL:-}" == "true" ]]; then + if build_binary_from_source "$binary_name" "$target_path"; then + return 0 + fi + fi + local version version=$(get_source_version) if [[ -z "$version" ]]; then