- Removed unnecessary print statement in main.go to streamline output.
- Updated language strings in lang.go to include newline characters for better formatting.
- Enhanced PowerShell installation script (install.ps1) with improved error handling and user prompts for admin rights.
- Modified shell installation script (install.sh) to provide clearer error messages and find matching assets for different architectures.
- Updated go.mod and go.sum to include necessary dependencies.
- Refactored README.md for clearer installation instructions and improved formatting.
- Enhanced main.go with better error handling and user feedback during execution.
- Improved configuration management in config.go, ensuring atomic writes and better error handling.
- Updated language support in lang.go for clearer user messages.
- Enhanced process management in manager.go to ensure more reliable process termination.
- Improved UI display methods for better user experience.
- Removed outdated test file generator_test.go to clean up the codebase.
- Updated install.ps1 script for better output formatting and error handling.
- Deleted the Makefile as it was no longer needed for the build process.
- Enhanced the README with clearer installation instructions, including a one-click solution for Linux/macOS and Windows.
- Improved formatting and added details for system support and configuration files.
- Updated the project stats section for better visibility.
These changes streamline the documentation and improve user experience for installation and usage of the Cursor ID Modifier tool.
- Enhanced build scripts for improved parallel execution and optimization flags.
- Updated installation scripts for better user experience and error handling.
- Modified .gitignore to include new build artifacts and IDE configurations.
- Updated .goreleaser.yml for better release management and platform support.
- Removed deprecated main.go file and adjusted README for clarity on installation and usage.
- Added support for multiple architectures in build process, including 32-bit and 64-bit for Windows, macOS, and Linux.
These changes streamline the development workflow and enhance the overall usability of the Cursor ID Modifier tool.
BREAKING CHANGE: machineId format has been updated to generate 74-character hex strings
Technical Analysis:
Decoded sample ID reveals structured format:
61757468307c757365725f3031... => "auth0|user_01..."
Contains identifiable prefix and separator pattern
Includes encoded user identification information
Changes:
Modified generateMachineId() to produce 74-character hex strings (37 bytes)
Updated related documentation and comments
Ensured compatibility with Cursor v0.44.0 requirements
Removed legacy format handling code
Format Example:
1757468307c757365725f30314a4552464a514639364237464b44583934484a4831374452
─ Hex encoded string containing auth0 prefix and user information
Note: New format provides enhanced uniqueness and metadata capabilities
Reference:
Thanks to 🙏[Huaguang]佬友 for the analysis: https://linux.do/t/topic/287438/148
Cursor version: 0.44+
- Modified NewStorageConfig to use different ID generation functions for TelemetryMacMachineId and TelemetryMachineId, ensuring machineId uses a new format while others retain the old format.
- Enhanced saveConfig to read the original configuration file, preserving all fields while updating telemetry-related fields.
- Added lastModified and version fields to the configuration if they do not exist, improving configuration management.
- Introduced a new generateMacMachineId function for consistent ID generation.
These changes improve the flexibility and maintainability of the storage configuration handling.
- Added logging functionality to track installation progress and errors in both PowerShell and Bash scripts.
- Implemented a download progress display for better user experience during file downloads.
- Introduced prerequisite checks to ensure the required PowerShell version and internet connectivity before installation.
- Modified the installation process to run the installed program directly after completion.
- Updated messages to clarify usage instructions for the 'cursor-id-modifier' tool.
These changes improve the robustness and user-friendliness of the installation process across platforms.
- Deleted the `install.sh` script to streamline the installation process and reduce complexity.
- Updated the `README.md` to reflect the new installation method, emphasizing the recommended automatic installation approach.
- Improved clarity in installation instructions for both Linux/macOS and Windows, ensuring users have clear guidance on how to install the tool.
- Added details about the automatic installation script's features, including privilege requests and configuration backups.
- Enhanced the manual installation section with step-by-step instructions for users who prefer that method.
These changes collectively improve the documentation and user experience during the installation process.
- Updated the link for downloading `cursor_modifier.bat` to ensure it points to the correct file path, improving clarity for users. This change enhances the usability of the README.md by providing accurate installation instructions.
- Corrected the download links for `cursor_modifier.sh` and `cursor_modifier.bat` in both English and Chinese sections of README.md to point to the correct file paths, enhancing clarity and usability for users.
These changes ensure that users can easily access the installation scripts without confusion.
- Introduced a new file `md5_checksums.txt` containing MD5 checksums for various platform binaries, enhancing file integrity verification.
- Updated the cSpell dictionary in `.vscode/settings.json` to include additional terms related to the project, improving spell checking accuracy.
These changes improve the build process by providing users with a way to verify the integrity of the built files and enhance development environment settings.
- Introduced a new feature to generate and save MD5 checksums for built files in `build_all.bat`.
- Added a new cyan color code for terminal output to enhance visibility.
- Included messages to inform users about the successful generation and location of the MD5 checksum file.
These changes improve the build process by providing users with a way to verify the integrity of the built files.
- Removed the "lastModified" and "version" fields from the telemetry configuration in README.md, streamlining the documentation.
- Updated the "telemetry.sqmId" field to maintain consistency in ID generation instructions.
These changes enhance the clarity of the README.md by focusing on essential telemetry information.
- Updated version number to 2.5.0 across all relevant files for consistency.
- Removed obsolete version 2.0.0 binaries and added new binaries for version 2.5.0 for various platforms (Windows, Linux, macOS).
- Updated installation scripts (`cursor_modifier.bat`, `cursor_modifier.sh`, `install.sh`, and `build_all` scripts) to reflect the new version.
- Revised README.md to include updated installation instructions and links to the new binaries, ensuring users have accurate and up-to-date information.
These changes collectively improve the application's usability and ensure users can access the latest version seamlessly.
- Updated version number to 2.0.0 in all relevant files for consistency.
- Improved language detection and multilingual messages in `cursor_modifier.bat` and `cursor_modifier.sh`, enhancing user experience for Chinese and English users.
- Added error handling for missing commands and improved process management in `cursor_modifier.sh`.
- Enhanced configuration management in `main.go` with better telemetry tracking and streamlined ID generation.
- Updated README.md to reflect the new version and configuration changes, ensuring users have accurate information.
These changes collectively improve the application's usability, configuration handling, and user feedback during operation.
- Introduced platform-specific scripts (`cursor_modifier.sh` for Linux/macOS and `cursor_modifier.bat` for Windows) to streamline the installation process.
- Scripts automate system language detection, close running Cursor instances, generate new IDs, and update configuration files with a user-friendly interface.
- Updated README.md to include detailed instructions for using the new scripts, enhancing user experience and accessibility.
These changes improve the installation process by providing users with flexible options for setup across different operating systems.
- Deleted the outdated analysis file that contained error diagnostics and solutions.
- Updated the checkAdminPrivileges function in main.go to use a more reliable method for checking Windows administrator privileges, enhancing security and accuracy.
- Fixed a minor display issue in the success message output.
- Added "apprun" to the cSpell dictionary in .vscode/settings.json for improved spell checking.
These changes streamline the codebase and enhance the functionality of the application.