Files
lightgui_rust/flatpak/lightgui-rust-launcher
T
cnmcdee fea9ea368f Delete the standalone xframe-layout crate
The unified XFrame-native canvas lives inside the designer now, so the
standalone layout process, its file-based selection IPC and its
workspace membership are gone. The Flatpak launcher just starts the
designer; xframe-common no longer mentions the layout in its
description and activate_window is documented for its remaining use.
2026-11-30 01:48:43 +00:00

16 lines
580 B
Bash
Executable File

#!/bin/sh
# LightGUI Rust Flatpak launcher — start the designer.
# The canvas lives inside the designer now (no separate layout
# process); the XFrame palette is a separate crate but is not
# launched — palette selection happens in-process in the designer.
# Binaries and icons live under /app/share/lightgui-rust/.
ROOT=/app/share/lightgui-rust
export LIGHTGUI_ICONS="$ROOT/widgets/icons"
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
echo "lightgui-rust: no display (DISPLAY and WAYLAND_DISPLAY are unset)." >&2
exit 1
fi
exec "$ROOT/lightgui-designer" "$@"