Skip to main content

linux_desktop_entry

Function linux_desktop_entry 

Source
pub fn linux_desktop_entry(
    name: &str,
    generic_name: &str,
    comment: &str,
    executable: &Path,
    icon: &str,
    categories: &str,
    keywords: &str,
) -> String
Expand description

Builds a user-level Linux desktop entry for a running Liora app.

Packaged installers use the static files under packaging/linux. Direct development runs should instead register the currently running executable, because TryExec=<binary> entries can be ignored when cargo run launches a target/debug binary that is not on PATH.