# Functions
DetermineExternalViewer checks the OS to decide the default viewer.
EnsureConfigDirExists ensures directory exists with correct permissions.
GetUGetUGetUserConfigPath returns the full configuration path for the current user.
LoadConfiguration loads a configuration from a file.
WriteConfig writes a config to disk.
# Constants
ConfigPath defines where the configuration is stored.
# Variables
DefaultConfiguration can be used if a config is missing.
# Structs
Configuration stores the global config.