Updated the Linux-specific script to support Cursor v0.47.x, optimized device ID generation logic, enhanced process termination safety, fixed path detection for non-standard installations, improved error handling/logging, added backup/restore functionality, and synchronized multilingual user prompts.
- Added comprehensive file existence and modification verification
- Implemented detailed logging for target file status
- Enhanced script reliability with pre-modification checks
- Prevented unnecessary modifications to already updated files
- Introduced more informative warning and error messages
- 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
- Corrected version dates in both English and Chinese README files
- Changed release dates from 2024 to 2025 for latest and stable versions
- Maintained consistent formatting across README.md and README_CN.md
- 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
- Removed unnecessary function calls in main script execution
- Simplified post-configuration process by focusing on essential registry updates
- Removed redundant file tree display after configuration changes
- Fixed a syntax error by replacing `}` with `fi` in the directory existence check
- Ensured proper shell script syntax for conditional block termination
- Included ETC sponsor section with wallet address
- Added centered table layout for donation information
- Maintained consistent markdown formatting and styling
- Replaced reg.exe query with PowerShell registry cmdlets for more robust access
- Added comprehensive error checking and validation for registry operations
- Implemented more detailed backup and restore mechanisms
- Enhanced logging and error reporting for MachineGuid modification process
- Improved function to return boolean status for better error tracking
- Added administrator privilege check before script execution
- Improved MachineGuid update function with detailed error handling
- Implemented comprehensive registry backup and validation
- Added color-coded console output for better user feedback
- Enhanced error recovery mechanism with automatic backup restoration
- Integrated new configuration generation and MachineGuid update in main workflow
- Added margin and padding to details elements
- Refined CSS styling for better readability
- Maintained consistent styling approach for markdown documentation