From b51d33cb373e591d16892bde492616655ac9ec51 Mon Sep 17 00:00:00 2001 From: UMTS at Teleco Date: Sat, 13 Dec 2025 02:59:39 +0100 Subject: committing to insanit --- run-client.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 run-client.sh (limited to 'run-client.sh') diff --git a/run-client.sh b/run-client.sh new file mode 100755 index 0000000..49ff3e8 --- /dev/null +++ b/run-client.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +CLIENT_BIN="$SCRIPT_DIR/frontend/desktop-client/sources/target/release/beepzone-egui" +CLIENT_SOURCES="$SCRIPT_DIR/frontend/desktop-client/sources" + +if [[ ! -f "$CLIENT_BIN" ]]; then + echo "Error: BeepZone client binary not found at:" + echo " $CLIENT_BIN" + echo "" + echo "Please build the desktop client first using the setup helper:" + echo " ./beepzone-helper.sh" + exit 1 +fi + +echo "Starting BeepZone Desktop Client..." +echo "Binary: $CLIENT_BIN" +echo "Working directory: $CLIENT_SOURCES" +echo "" + +cd "$CLIENT_SOURCES" +exec ./target/release/beepzone-egui -- cgit v1.2.3-70-g09d2