Repository navigation
Store the configuration file in Application Support for new installs - #1516
Conversation
When no configuration file exists, create it in ~/Library/Application Support/linearmouse instead of ~/.config/linearmouse, following the macOS convention for app data. Existing configurations are unaffected: ~/.config/linearmouse/linearmouse.json is still used when it exists, and Application Support still wins when both exist. The ~/.config location is now documented as deprecated. Also log which configuration file is loaded, reloaded and saved. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
New configurations are now created in
~/Library/Application Support/linearmouse/linearmouse.json, following the macOS convention for app data.Existing configurations are not affected:
~/.config/linearmouse/linearmouse.jsonexists, LinearMouse keeps using it.~/.config/linearmouse/linearmouse.jsonis now deprecated but still supported. The configuration documentation describes how to move to the new location.Changes
~/.config.~/.configlocation as deprecated in the code and the documentation.🤖 Generated with Claude Code