1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00

chore: improve CI stability and add edge install support

This commit is contained in:
Tw93
2026-01-03 13:34:39 +08:00
parent dfffe0b6fb
commit a57cd22abf

View File

@@ -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