Function xdirs::app_container_executable_dir_for[][src]

pub fn app_container_executable_dir_for(app: &str) -> Option<PathBuf>

Returns the path to the application container’s executable directory, for a given system application name.

The returned value depends on the operating system and is either a Some, containing a value from the following table, or a None.

PlatformValueExample
Linux--
macOS/Applications/{app}/Contents/MacOS/Applications/MyApp.app/Contents/MacOS
Windows--