#ifndef HUSH_PATHS_H
#define HUSH_PATHS_H

/* Resolves and caches the directory hush should load fonts/lang files from. Call once at
   startup, before fonts_load()/lang_load(). Prefers <prefix>/share/hush/assets next to the
   running executable (so `cmake --install` produces a fully relocatable install that works
   from anywhere on PATH); falls back to the source-tree assets/ directory baked in at compile
   time (ASSETS_DIR) whenever that install layout isn't found -- e.g. running straight from the
   build directory during development, which keeps working exactly as before. */
void paths_init(void);

/* Returns the resolved assets directory (no trailing slash). Valid after paths_init(). */
const char *paths_assets_dir(void);

#endif
