pub fn get_home_dir() -> Result<PathBuf>
Gets the home directory path for the current user.
Uses %USERPROFILE% on Windows, $HOME on Unix-like systems.
%USERPROFILE%
$HOME