Function xdirs::user_app_container_executable_dir_for[][src]

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

Returns the path to the application container’s executable directory, for a given user 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$HOME/Applications/{app}/Contents/MacOS/Users/alica/Applications/MyApp.app/Contents/MacOS
Windows--