9 Commits

Author SHA1 Message Date
Xx
21aa297b39 feat: Update version to 2.5.0 and enhance installation scripts
- 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.
2024-12-13 16:13:54 +08:00
Xx
490edb4d83 feat: Enhance language detection and process management in main.go
- Improved language detection logic to support multiple environment variables and system-specific checks for Windows and Unix systems.
- Added logging for the detected language to enhance user feedback.
- Refactored process management initialization to improve code organization and clarity.
- Updated the main function to include clearer steps for configuration loading and success messaging.

These changes enhance the application's usability by providing better language support and clearer process management.
2024-12-12 23:11:55 +08:00
Xx
9237f883c9 feat: Enhance installation script and improve user feedback
- Corrected character encoding issues in binary verification messages in `install.sh`.
- Updated download progress display and error handling for binary downloads.
- Added a new configuration location message in `main.go` for better user guidance.
- Removed obsolete binary files from releases to streamline the project structure.

These changes improve the reliability of the installation process and enhance user experience with clearer feedback and updated messaging.
2024-12-11 17:39:13 +08:00
Xx
e46a7ecfec chore: Update installation script and .gitignore for improved functionality
- Enhanced `install.sh` by adding network connectivity checks and executable file format validation to ensure a smoother installation process.
- Updated the installation directory creation logic to handle errors more gracefully.
- Modified the download URL to point to the correct repository branch and improved the curl command to show download progress.
- Cleaned up `.gitignore` by removing obsolete entries related to binaries and IDE configurations, streamlining the ignored files list.
- Added a new function to clean up old versions of the binary during installation.

These changes improve the reliability and user experience of the installation process.
2024-12-11 17:23:22 +08:00
Xx
af6c9f05de feat: Update installation script and improve error handling
- 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.
2024-12-11 17:02:59 +08:00
Xx
ea56925a52 v2.0.0 app 2024-12-10 22:33:23 +08:00
Xx
f7fe868d5e feat: Add language support and ID comparison feature
- 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.
2024-12-10 22:24:47 +08:00
Xx
a1c2203752 feat: Enhance configuration management and build scripts
- 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.
2024-12-10 22:19:20 +08:00
Xx
089f5a9572 初始化版本 2024-12-09 15:00:45 +08:00