pub fn resolve_path(path: &str) -> PathBuf
Expand description

Resolves a path to the absolute path - absolute path gets resolved as is

  • path starting with “CLEO/” gets resolved relative to the CLEO directory
    • either {game}\CLEO or
    • {user}\AppData\Roaming\CLEO Redux\CLEO
  • all other paths get resolved relative to the cwd (game directory)

since v1