diff options
| author | UMTS at Teleco <crt@teleco.ch> | 2026-01-11 19:58:54 +0100 |
|---|---|---|
| committer | UMTS at Teleco <crt@teleco.ch> | 2026-01-11 19:58:54 +0100 |
| commit | 7b57e2df69eccbc0fe78f119e25e58bee18f576d (patch) | |
| tree | 8dc88ffeeb1d9da829f32c4132511db0d704adab /backend/database/dev/backup/run-client.sh | |
| parent | 0c7c41f8586378511633b19d44510318108b2bf7 (diff) | |
cleanup time
Diffstat (limited to 'backend/database/dev/backup/run-client.sh')
| -rwxr-xr-x | backend/database/dev/backup/run-client.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/backend/database/dev/backup/run-client.sh b/backend/database/dev/backup/run-client.sh new file mode 100755 index 0000000..49ff3e8 --- /dev/null +++ b/backend/database/dev/backup/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 |
