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.
11 lines
281 B
Desktop File
11 lines
281 B
Desktop File
[Desktop Entry]
|
|
Type=Application
|
|
Name=LightGUI (Rust)
|
|
GenericName=GUI Designer
|
|
Comment=Visual GUI designer for GTK 3, rewritten in Rust
|
|
Exec=lightgui-designer
|
|
Icon=lightgui-designer
|
|
Terminal=false
|
|
Categories=Development;IDE;GUIDesigner;
|
|
Keywords=GTK;GUI;designer;widgets;IDE;Rust;
|