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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user