mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:04:42 +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"
|
echo -e "${BLUE}|${NC} $msg"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
local chars="${MO_SPINNER_CHARS:-|/-\\}"
|
local chars="|/-\\"
|
||||||
[[ -z "$chars" ]] && chars='|/-\\'
|
[[ -z "$chars" ]] && chars='|/-\\'
|
||||||
local i=0
|
local i=0
|
||||||
(while true; do
|
(while true; do
|
||||||
@@ -436,6 +436,12 @@ download_binary() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${MOLE_EDGE_INSTALL:-}" == "true" ]]; then
|
||||||
|
if build_binary_from_source "$binary_name" "$target_path"; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
local version
|
local version
|
||||||
version=$(get_source_version)
|
version=$(get_source_version)
|
||||||
if [[ -z "$version" ]]; then
|
if [[ -z "$version" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user