Function loader_get_application_launch_path

Source
pub unsafe extern "C" fn loader_get_application_launch_path(
    instance: *mut Loader,
    name: *mut FuriString,
) -> bool
Expand description

Get the launch path or name of the currently running application

This is the string that was supplied to loader_start such that the current app is running now. It might be a name (in the case of internal apps) or a path (in the case of external apps). This value can be used to launch the same app again.

§Arguments

  • instance (direction in) - pointer to the loader instance
  • name (direction in, out) - pointer to the string to contain the path or name (must be allocated)

§Returns

true if it was possible to get an application path, false otherwise