7 Commits

Author SHA1 Message Date
Xx
98f6eab6de feat: Update version to 2.0.0 and enhance multilingual support across scripts
- 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.
2024-12-13 16:09:50 +08:00
Xx
24287ac575 refactor: Remove obsolete analysis file and improve Windows admin privilege check in main.go
- 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.
2024-12-13 15:49:05 +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
2e27634c8d feat: Remove obsolete binaries and update module dependencies
- 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.
2024-12-11 16:40:22 +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