Implemented new C++ logic
This commit is contained in:
@@ -105,10 +105,8 @@ LOADER_PARAMS=(
|
||||
UI_PID=""
|
||||
if [[ "$START_UI" -eq 1 ]]; then
|
||||
UI_BIN="${SCRIPT_DIR}/Client/debugger/marte2debugger"
|
||||
if [[ ! -x "$UI_BIN" ]]; then
|
||||
echo "==> Building debugger web UI..."
|
||||
(cd "${SCRIPT_DIR}/Client/debugger" && go build -o marte2debugger .)
|
||||
fi
|
||||
echo "==> Building debugger web UI..."
|
||||
(cd "${SCRIPT_DIR}/Client/debugger" && go build -o marte2debugger .)
|
||||
# Check if port 7777 is already in use
|
||||
if ss -tlnH sport = :7777 2>/dev/null | grep -q 7777; then
|
||||
echo "==> Debugger web UI already running on http://localhost:7777"
|
||||
|
||||
Reference in New Issue
Block a user