- Enhanced `modify_or_add_config()` function with more robust file modification approach
- Added temporary file-based modification to prevent partial writes
- Implemented additional file permission and existence checks
- Improved error handling with more granular logging and error conditions
- Ensured clean file modification and temporary file cleanup
- Added detailed error messages for configuration file modification failures
- Enhanced logging to provide specific guidance for manual configuration updates
- Maintained existing key replacement and addition logic
- Improved user feedback for configuration modification errors
- Added file existence check before configuration modification
- Implemented error logging for file modification failures
- Added return value checks for sed operations
- Improved error handling in `modify_or_add_config()` function
- Maintained existing configuration key replacement and addition logic
- Added `modify_or_add_config()` function to handle existing and new configuration keys
- Enhanced file modification logic to support adding missing keys
- Refactored `generate_new_config()` to use new configuration modification method
- Maintained existing telemetry ID generation and file permission setting
- Improved script flexibility for configuration file updates
- 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
- Implemented MAC address modification functionality for Mac users
- Added network interface selection and random MAC address generation
- Created backup mechanism for original MAC addresses
- Integrated optional MAC address modification into main script workflow
- Updated README files with MAC address modification warning and details
- Enhanced file content validation with more flexible regex matching for crypto.randomUUID()
- Added debug logging to preview file contents during validation
- Improved error detection and logging for file modification process
- Maintained existing script modification strategy with more robust validation
- Replaced awk-based file parsing with more precise sed replacement
- Added comprehensive validation checks for file modifications
- Improved error logging and handling during file processing
- Updated user guidance message to include restart and potential reinstallation instructions
- Maintained existing script functionality with more resilient modification approach
- Implemented `modify_cursor_app_files()` function to patch Cursor's main and CLI JavaScript files
- Added file backup mechanism before modification
- Dynamically locate and replace UUID generation logic in app files
- Ensure proper file permissions and ownership after modification
- Integrated new modification step into main script workflow
- 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
- Removed user confirmation prompt for UUID modification
- Automatically update system UUID without additional user interaction
- Added clear console output to inform user about UUID change and restart requirement
- 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
- Marked Mac/Linux 0.45.x versions as fully supported
- Updated support status from "Under testing" to "Supported"
- Encouraged user feedback for Mac/Linux versions
- 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
- Added comprehensive explanation of MachineGuid registry modification in both English and Chinese README files
- Included safety measures, potential impacts, and recovery steps for registry changes
- Updated Windows PowerShell script to provide additional registry modification information
- Enhanced user awareness about system-level modifications and their implications
- Updated README files to indicate support for Cursor 0.45.x on Windows
- Added version detection function in Windows PowerShell script
- Improved version information display and user guidance
- Marked Mac/Linux 0.45.x support as under testing
- Improved random ID generation with more robust cryptographic methods
- Added new functions for generating standard machine and UUID identifiers
- Implemented version compatibility check for Cursor versions
- Enhanced user guidance with detailed version-specific instructions
- Added automatic MachineGuid update and backup functionality
- Introduced optional auto-update disabling feature with comprehensive error handling
- Refreshed the WeChat group QR code image
- Updated the group invitation expiration date to February 7th
- Maintained existing README_CN.md formatting
- Added download links for Cursor v0.44.11 in both English and Chinese README files
- Included direct download options from Cursor Official and ToDesktop
- Maintained consistent formatting across language versions
- 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
- Introduced a new section in both English and Chinese README files detailing methods to disable the auto-update feature for Cursor, including a built-in script and manual steps for Windows, macOS, and Linux.
- Updated the cursor_win_id_modifier.ps1 script to prompt users for disabling auto-update, enhancing user interaction and control over application settings.
- Included warnings about the need for manual updates after disabling the auto-update feature, improving overall user guidance.
- 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.
- Added detailed steps for opening the Windows Admin Terminal in both English and Chinese, including three methods: using Win + X, Win + R, and search.
- Improved formatting and clarity of the instructions to ensure better user understanding.
- Updated the reset script command for consistency across both language versions.
- Revised the section on opening the Windows Admin Terminal for clarity and consistency in both English and Chinese.
- Added detailed steps for installing PowerShell, including two methods: using Winget and manual download, with improved formatting for better readability.
- Ensured that all instructions are clear and accessible to users, enhancing the overall documentation quality.
- Removed outdated installation instructions for overseas users in both English and Chinese README files.
- Updated installation commands for macOS and Linux to point to the correct scripts.
- Added a success image display in the installation sections for better user feedback.
- Improved error handling and configuration writing in the cursor_win_id_modifier.ps1 script, ensuring directory existence and setting file permissions more robustly.
- Included a prompt for users to restart Cursor to apply new configurations and added a message to follow the official WeChat account for further engagement.
- Revised section headings in both English and Chinese README files to remove numbering and improve readability.
- Ensured consistency in formatting across both language versions, enhancing user experience and understanding of the solutions provided.
- Revised the descriptions of trial account issues in both English and Chinese README files for better clarity.
- Added specific headings for each issue related to trial limitations, enhancing user understanding of the problems and solutions.
- Improved overall formatting to ensure consistency and readability across both language versions.