From a57cd22abf71c436f3379dcdf28a1190ba9e4f33 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sat, 3 Jan 2026 13:34:39 +0800 Subject: [PATCH] chore: improve CI stability and add edge install support --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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