- Fixed a syntax error in the `check_requirements` function by replacing the incorrect closing brace with `fi`.
- This change ensures proper script execution and improves error handling for user permissions.
This commit addresses a critical issue in the installation script to enhance reliability.
- Streamlined the description and usage guidelines for the Cursor Free Trial Reset Tool.
- Improved formatting of platform support and installation instructions for better readability.
- Updated download URLs in installation instructions to reflect the latest paths.
- Enhanced bilingual support by ensuring consistent formatting in both English and Chinese sections.
- Added troubleshooting tips and cautions to guide users effectively.
This commit enhances the documentation to provide clearer instructions and improve user experience.
- Updated `install.sh` to include versioning and enhanced bilingual messages for better user feedback.
- Refactored platform detection logic to dynamically set binary names based on the version.
- Added checks for system requirements, including curl installation and write permissions.
- Improved error handling with context-specific messages for better debugging.
- Cleaned up the `go.mod` file by consolidating dependency requirements.
This commit enhances the installation process and user experience by providing clearer feedback and ensuring necessary prerequisites are met.
- Deleted outdated binary files for Windows, Linux, and macOS platforms to streamline the project.
- Updated `go.mod` to change the module path to `cursor-id-modifier` and adjusted dependency versions for `github.com/fatih/color` and `golang.org/x/sys`.
- Modified `install.sh` to reflect new binary naming conventions and download URLs.
- Cleaned up whitespace in `main.go` for improved code readability.
This commit focuses on cleaning up the project structure and ensuring dependencies are up-to-date.
- Refactored configuration handling in `main.go` to streamline processes and improve structure.
- Added new methods for better management of configuration files.
- Enhanced user feedback with distinct color-coded success and warning messages.
- Updated build scripts for improved error handling and output clarity.
- Enhanced documentation in `README.md` to clarify usage guidelines and system compatibility.
This commit focuses on refining configuration processes and improving overall user interaction with the tool.
- Changed module path from `go-cursor-help` to `github.com/yuaotian/go-cursor-help` in `go.mod`.
- Updated `golang.org/x/sys` dependency version from `v0.25.0` to `v0.28.0`.
- Enhanced `README.md` with improved formatting, added badges, and clarified installation instructions.
- Included important usage guidelines and disclaimers for the Cursor Free Trial Reset Tool, emphasizing compliance with trial terms.
This commit improves module management and enhances documentation clarity for users.
- Introduced a new language display in the banner, showing the current language (Simplified Chinese or English).
- Added a function to display a comparison of old and new IDs after configuration updates.
- Implemented a new function to read existing configuration from a file.
- Updated success and warning messages to use distinct colors for better visibility.
This commit enhances user experience by providing language context and ID comparison during configuration updates.
- Updated `go.mod` to include new dependencies for color output.
- Refactored `main.go` to improve `StorageConfig` structure and add new methods for configuration management.
- Implemented a progress spinner and error handling for file operations.
- Enhanced build scripts (`build_all.bat` and `build_all.sh`) for better output and error handling, including versioning and cleanup processes.
- Removed obsolete binary files for various platforms.
- Updated VSCode settings for spell checking.
This commit improves the overall functionality and user experience of the Cursor ID Modifier tool.