1 Commits
Author SHA1 Message Date
cnmcdee 1eabec03f5 Add Install Libraries: system-wide install from a Tools menu item
Adds Tools > Install Libraries: builds the designer as the user
(cargo build -p lightgui-designer), then installs system-wide as root
(pkexec when present, else a GTK password dialog feeding sudo -S).
Installs the designer binary to /usr/local/bin/lightgui-designer,
widget headers to /usr/local/include/lightgui (from the sibling C
repo, passed as LIGHTGUI_SRC since pkexec strips env), palette icons
to /usr/local/share/lightgui/icons, and a desktop entry + icon to the
app menu. Headers are header-only, so no shared libraries and no
ldconfig step. The .ui is embedded in the binary, so no UI file is
installed. Install output is shown in the scrollable log dialog.
Dialogs are hidden (not closed) after run(), and Enter in the
password entry submits via its activate signal.
2026-12-01 01:49:41 +00:00