aboutsummaryrefslogtreecommitdiff
path: root/run-client.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-client.sh')
-rwxr-xr-xrun-client.sh24
1 files changed, 24 insertions, 0 deletions
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