Files
2026-05-16 19:24:30 -05:00

44 lines
941 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
SELF_DIR="$(cd "$(dirname "$0")" && pwd)"
INSTALL_TAG="business"
. "$SELF_DIR/lib/common.sh"
ensure_root "$@"
load_env
# Keep the business profile focused on the livestream stack.
ENABLE_HOMEPAGE=0
ENABLE_FILEBROWSER=0
ENABLE_COCKPIT=0
ENABLE_NETDATA=0
ensure_live_user
normalize_repo_root
install_base_packages
install_media_packages
configure_adb_udev
install_nodejs
install_docker_stack
install_android_panel
prepare_python_runtime
prepare_web_console
install_live_console_service
configure_sudoers
configure_mdns
install_browser_stack
install_neko_browser
install_redroid
prepare_mitmproxy
prepare_vscode_server
prepare_uptime_kuma
prepare_openclaw
install_pulseaudio_service
install_kmscube_service
prepare_srs
run_hardware_probe
# 与 install-hub 一致:装 Caddy live-edgehttp://live.local:80 → 本机控制平面 PORT默认 8001
install_live_edge_proxy
print_summary "business"