macos error

This commit is contained in:
shocknet-justin 2025-09-25 10:27:08 -04:00
parent aca2150fde
commit cc15d1072c

View file

@ -31,10 +31,6 @@ log_error() {
modules=( modules=(
"utils" "utils"
"check_homebrew" # NOTE: Used for macOS, which is untested/unsupported
"install_rsync_mac" # NOTE: Used for macOS, which is untested/unsupported
"create_launchd_plist" # NOTE: Used for macOS, which is untested/unsupported
"start_services_mac" # NOTE: Used for macOS, which is untested/unsupported
"install_lnd" "install_lnd"
"install_nodejs" "install_nodejs"
"install_lightning_pub" "install_lightning_pub"
@ -94,8 +90,7 @@ log "Detected OS: $OS"
log "Detected ARCH: $ARCH" log "Detected ARCH: $ARCH"
if [ "$OS" = "Mac" ]; then if [ "$OS" = "Mac" ]; then
log "Handling macOS specific setup" log_error "macOS is not currently supported by this install script. Please use a Linux-based system." 1
handle_macos || log_error "macOS setup failed" 1
else else
# Explicit kickoff log for LND so the flow is clear in the install log # Explicit kickoff log for LND so the flow is clear in the install log
log "${PRIMARY_COLOR}Installing${RESET_COLOR} ${SECONDARY_COLOR}LND${RESET_COLOR}..." log "${PRIMARY_COLOR}Installing${RESET_COLOR} ${SECONDARY_COLOR}LND${RESET_COLOR}..."