3 Commits

Author SHA1 Message Date
Sergey Kurdin
9040408d71 chore: lint fixes and PR comments 2025-06-13 17:44:21 -04:00
Sergey Kurdin
37fb06fef1 feat: Implement custom data location feature and update related settings 2025-06-10 22:52:48 -04:00
Sergey Kurdin
d92008c474 feat: Enhance user settings commands and data path management
- Added `fs_extra` dependency for improved file operations.
- Updated `arboard` dependency to version 3.5.0.
- Introduced `cmd_check_custom_data_path` to verify the status of a given path.
- Implemented `cmd_validate_custom_db_path` to check if a directory is writable.
- Replaced `cmd_set_custom_db_path` with `cmd_set_and_relocate_data` for setting a new data path and relocating existing data.
- Replaced `cmd_remove_custom_db_path` with `cmd_revert_to_default_data_location` to revert to the default data location with optional file movement.
- Refactored database path retrieval functions for clarity and efficiency.
- Updated clipboard history and item services to utilize new data directory functions.
2025-06-10 14:12:41 -04:00