[][src]Function amethyst_utils::app_root_dir::application_root_dir

pub fn application_root_dir() -> Result<PathBuf, Error>

Returns the cargo manifest directory when running the executable with cargo or the directory in which the executable resides otherwise, traversing symlinks if necessary.

The algorithm used is:

If none of the above works, an error is returned.