run-client.sh 661 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  4. CLIENT_BIN="$SCRIPT_DIR/frontend/desktop-client/sources/target/release/beepzone-egui"
  5. CLIENT_SOURCES="$SCRIPT_DIR/frontend/desktop-client/sources"
  6. if [[ ! -f "$CLIENT_BIN" ]]; then
  7. echo "Error: BeepZone client binary not found at:"
  8. echo " $CLIENT_BIN"
  9. echo ""
  10. echo "Please build the desktop client first using the setup helper:"
  11. echo " ./beepzone-helper.sh"
  12. exit 1
  13. fi
  14. echo "Starting BeepZone Desktop Client..."
  15. echo "Binary: $CLIENT_BIN"
  16. echo "Working directory: $CLIENT_SOURCES"
  17. echo ""
  18. cd "$CLIENT_SOURCES"
  19. exec ./target/release/beepzone-egui