- Added robust character escaping for keys and values in JSON configuration
- Used sed to safely handle special characters during file modification
- Improved reliability of modify_or_add_config function
- Prevented potential sed parsing errors with advanced escaping techniques
- Simplified process management with more precise process detection using pgrep
- Enhanced system ID generation with improved randomization techniques
- Implemented robust configuration file modification function
- Improved backup and file handling with better error checking
- Streamlined file permission and ownership management
- Added Linux-specific system checks and compatibility improvements
- Simplified machine ID generation by directly combining prefix and random ID
- Improved sed escape function to handle special characters
- Added JSON configuration file validation using jq
- Implemented fallback mechanism to restore backup if config is invalid
- Streamlined machine ID and device ID generation process
- Updated script header text for Linux, Mac, and Windows versions
- Refined public account promotion message
- Clarified tool description and version support
- Improved readability of promotional text
- Maintained consistent formatting across platforms
- Implemented interactive menu for auto-update disabling
- Added option to exit auto-update configuration
- Improved error handling and user guidance
- Refined user experience with clearer prompts and input validation
- Updated final success message for MAC address modification
- Adjusted title spacing in Linux, Mac, and Windows scripts
- Standardized promotional message formatting
- Removed redundant text in Windows script
- Improved visual consistency across platform-specific scripts
- Updated Linux, Mac, and Windows scripts to support Cursor v0.45.x
- Added promotional message encouraging users to follow public WeChat account
- Refined logo and tool title display
- Removed outdated version support warnings
- Enhanced script messaging with additional context and community engagement
- Updated error messages in Linux script to include specific package installation commands
- Enhanced Mac script's UUID modification prompt with better formatting and color
- Added spacing to improve readability of user prompts
- Implemented `backup_system_id()` function for both Linux and Mac scripts
- Added system ID backup with timestamped files and detailed information
- Introduced machine-id modification for Linux systems
- Added system UUID modification option for Mac systems
- Enhanced logging and user interaction for system ID changes
- Implemented a custom escape function to handle special characters in sed replacements
- Improved variable escaping to prevent potential sed command injection
- Updated sed substitution syntax to use more robust delimiters
- Maintained existing file modification and permission logic
- Updated sed commands to use safer delimiters and variable escaping
- Replaced hardcoded delimiters with more robust sed substitution syntax
- Maintained existing file modification logic with enhanced security
- Preserved file permission settings after configuration update
- Improved error handling logic with more concise conditional checks
- Replaced complex multi-line command with an if statement for better readability
- Simplified file permission and ownership setting validation
- Maintained existing error logging and manual guide display functionality
- Implemented `disable_auto_update()` function for Linux, macOS, and Windows scripts
- Added interactive prompt to allow users to disable Cursor's automatic updates
- Included comprehensive manual guide for users if automatic disabling fails
- Enhanced error handling and validation for update disabling process
- Provided clear instructions and fallback methods across different platforms
- Updated Linux, macOS, and Windows scripts to set more restrictive file permissions
- Implemented read-only file access with additional validation checks
- Added fallback methods to ensure configuration file protection
- Improved logging for permission setting processes
- Added important notices in both English and Chinese README files regarding supported Cursor versions: v0.44.11 and below are supported, while the latest 0.45.x versions are temporarily unsupported.
- Enhanced error handling in the cursor ID modifier scripts for Linux, macOS, and Windows to check for the existence of the configuration file before proceeding.
- Improved user feedback by including warnings about the required Cursor version in the script outputs.
- Streamlined the configuration update process in the scripts to ensure clarity and robustness.
- Updated sed command delimiters from '/' to '|' for better clarity in modifying telemetry IDs.
- Ensured consistent formatting across multiple sed commands to enhance maintainability of the script.
- Enhanced README.md by updating WeChat contact information and adding a WeChat appreciation code section for better user engagement.
- Increased image sizes for better visibility in the README.
- Refined the sed command syntax in cursor_linux_id_modifier.sh for improved readability and consistency in modifying telemetry IDs.
- Ensured overall clarity and usability improvements across both the documentation and script.
- Enhanced the method for identifying and terminating Cursor processes to ensure more accurate detection.
- Added error handling for missing commands and file permissions when backing up configuration files.
- Improved comments for clarity and consistency in the script's functionality.
- Updated the public account name in output messages for consistency across platforms.
- Deleted the CHANGELOG.md file as it is no longer needed for project documentation.
- Updated the README.md to include proxy download instructions for Linux and macOS users in China.
- Added similar instructions for Windows users to facilitate easier access to installation scripts.