Skip to main content

prepare_env

Function prepare_env 

Source
pub fn prepare_env() -> Result<Option<PathBuf>, String>
Expand description

Prepare the environment the launcher would normally provide. Runs before logging is initialized, so problems are returned for main to print. Returns the path the auth key was written to, when it generated one.