#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Marcus Baw and Baw Medical Ltd
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Run the calc desktop GUI in dev mode (hot-reload, both Rust and React).
#
# First-time setup (once):
# cd gui && npm install
# # plus the Tauri system deps for your OS; see https://tauri.app/start/prerequisites/
#
# Then s/gui-dev from anywhere in the repo. The Tauri CLI starts Vite
# (port 5173) and the Rust backend together; either side recompiles on
# save and the webview reloads.
#
# Linux gotcha: some distros need WEBKIT_DISABLE_DMABUF_RENDERER=1 to
# avoid a black/blank webview window. Harmless to set on all distros.
if ; then
fi