Skip to main content

Module config

Module config 

Source
Expand description

Portable-first config and path resolution.

Settings live in config.toml next to the executable. If the exe directory is read-only (e.g. running from a CD), we fall back to a per-user data directory and remember that decision for the session.

Structsยง

Config
On-disk user settings. Serialised to config.toml next to the executable (portable) or in the per-user data directory.
Paths
Resolved filesystem locations for the running viewer.
UiConfig
Persisted UI preferences (theme + panel visibility).
WindowConfig
Initial viewer window dimensions in logical pixels.