Files
BlackAngelTV 939f21a946 feat(gui): ship a themed single-binary desk manager
The CLI, the separate helper and the GUI duplicated entry points, so a
launch required two installed executables. pkexec now reuses the same
binary through --privileged-launch, and the window adopts the dark
landing-page look of the project site instead of the default GTK styling.
2026-11-13 19:57:41 +01:00

21 lines
615 B
Bash
Executable File

#!/usr/bin/env bash
# Build FWS-DeskManager and open its GTK4 window in a single step.
# Usage: ./run.sh
#
# BUILD_DIR / BUILD_TYPE override the defaults when a separate build tree is
# needed (for example BUILD_DIR=build-debug BUILD_TYPE=Debug ./run.sh).
set -euo pipefail
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
build_dir="${BUILD_DIR:-build}"
build_type="${BUILD_TYPE:-Release}"
jobs="$(nproc)"
# Incremental: cmake keeps the existing cache and only recompiles stale files.
cmake -S . -B "$build_dir" -DCMAKE_BUILD_TYPE="$build_type"
cmake --build "$build_dir" -j"$jobs"
exec "$build_dir/fws-deskmanager"