Skip to main content

run_gui

Function run_gui 

Source
pub fn run_gui() -> Result
Expand description

Entry point for the Iced desktop GUI.

The binary must be installed setuid-root for the flash pipeline to be able to open block devices:

sudo chown root:root /usr/bin/flashkraft
sudo chmod u+s       /usr/bin/flashkraft

The real UID is captured in main.rs before this function is called.