fix(settings): use app config dir for app settings#2573
fix(settings): use app config dir for app settings#2573keta1 wants to merge 1 commit intofarion1231:mainfrom
Conversation
|
Claude finished @farion1231's task in 1m 33s —— View job Claude PR Review
LGTM. No blocking issues. The change correctly aligns
One observation worth confirming, already called out in the PR description: users who previously set a custom app-config-dir override will silently leave their old |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Migration Note
The current implementation changes where local AppSettings are read and written. Users who previously used a custom CC Switch config directory may temporarily lose their local settings because the app will start reading
<app_config_dir>/settings.jsoninstead of the old~/.cc-switch/settings.jsonlocation.Those users need to manually migrate their existing
settings.jsoninto the active app config directory.