mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-07-31 09:49:53 -04:00
Route the four config call sites (login.cfg, settings.cfg, last_character.cfg, characters/) through a shared core::getConfigRoot(). A portable.txt marker or an existing config/ folder next to the executable redirects config to <exe_dir>/config; otherwise the per-user location (%APPDATA%\wowee or ~/.wowee) is used as before. On first portable launch, migratePortableConfigIfNeeded() seeds the portable folder from the existing per-user config so saved server profiles, settings, and characters carry over.