#!/bin/sh
# LightGUI Python port launcher. Mirrors the C `ide` script: checks DISPLAY,
# then runs the designer.
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
    echo "ide: no display (DISPLAY unset)" >&2
    exit 1
fi
cd "$(dirname "$0")" || exit 1
exec python3 -m lightgui "$@"
