337 Commits

Author SHA1 Message Date
Xx
e3fed51d43 feat: Add MD5 checksums for built files and update cSpell dictionary
- 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.
2024-12-13 16:30:21 +08:00
Xx
8a28f29202 feat: Add MD5 checksum generation to build_all.bat
- 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.
2024-12-13 16:29:39 +08:00
Xx
374b509e98 refactor: Clean up telemetry fields in README.md
- 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.
2024-12-13 16:15:06 +08:00
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.
v0.0.3
2024-12-13 16:13:54 +08:00
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
1a4e5c737f feat: Add alternative script installation methods for Linux/macOS and Windows
- 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.
2024-12-13 16:01:06 +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
煎饼果子卷鲨鱼辣椒
1b6933267d
Merge pull request #20 from dacrab/master
possible update
2024-12-13 15:33:02 +08:00
dacrab
20b2eb74b7 feat: Enhance main.go with new process management features and multilingual support
- Added new messages for process management, including checking and closing Cursor instances, to improve user feedback.
- Introduced new fields in the TextResource struct for better multilingual support, enhancing user experience across different languages.
- Updated the ensureCursorClosed function to provide clearer status messages during the process of closing instances.
- Improved the overall structure and readability of the code related to process management.

These changes collectively enhance the application's usability and provide clearer communication to users during operation.
2024-12-12 22:35:33 +02:00
dacrab
5fb0288420 feat: Enhance configuration management and process handling in main.go
- Added TelemetrySqmId to StorageConfig for improved telemetry tracking.
- Modified NewStorageConfig to accept an existing configuration, allowing for better state management.
- Updated getConfigPath, saveConfig, and readExistingConfig functions to include username as a parameter for user-specific configuration handling.
- Implemented ensureCursorClosed function to ensure the Cursor application is closed before proceeding.
- Enhanced process management functions to handle both uppercase and lowercase process names for better compatibility across systems.
- Updated README.md with new installation instructions and manual configuration steps for the added TelemetrySqmId.

These changes collectively improve the application's configuration handling and user experience during setup and operation.
2024-12-12 22:08:30 +02:00
Vaggelis kavouras
6cc28518b4 feat: Enhance installation script and main.go for improved user experience
- Updated `install.sh` to include new configuration options for binary retention and download directory, enhancing user flexibility.
- Improved error handling and user feedback in the installation process, including clearer messages for network connectivity and binary verification.
- Added a cleanup function for old versions of the binary to streamline the installation process.
- Refactored `main.go` to improve language detection and configuration management, ensuring better usability across different systems.
- Enhanced README.md with updated installation instructions and clearer descriptions of features and system support.

These changes collectively improve the installation experience and provide users with more control and clarity during setup.
2024-12-12 20:49:52 +02: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
81317077cb fix: Update installation URLs in README.md for accuracy
- Corrected the download URLs in the installation instructions for both Linux/macOS and Windows PowerShell to point to the raw content on GitHub.
- This change ensures users can successfully retrieve the installation script without encountering broken links.

These updates enhance the reliability of the documentation and improve the user experience during the installation process.
2024-12-11 17:58:57 +08:00
Xx
38e027cf3f feat: Enhance installation script with improved configuration and error handling
- Updated `install.sh` to allow customizable download directory and binary retention options.
- Added argument parsing for `--keep-binary` and `--download-dir` to enhance user flexibility.
- Improved binary verification process with clearer error messages and executable permission settings.
- Streamlined download process by directly saving to the specified download path.
- Enhanced user feedback with instructions for making the downloaded file executable.

These changes improve the installation experience by providing users with more control and clearer guidance during the setup process.
2024-12-11 17:53:41 +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
53be4b55fd fix: Correct binary verification message and improve download error handling in install.sh
- Fixed a character encoding issue in the binary verification message to ensure proper display.
- Updated the curl command to use a progress bar instead of verbose output, enhancing user experience during downloads.
- Improved the error message for failed binary downloads to include HTTP status information for better debugging.

These changes enhance the reliability and clarity of the installation script, providing users with more accurate feedback during the installation process.
2024-12-11 17:25:45 +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
bedce7425b fix: Correct closing syntax in install.sh and improve error message
- Fixed a syntax error by replacing the incorrect closing brace with `fi` in the `verify_binary` function.
- Updated the error message for setting executable permissions to ensure proper display without encoding issues.

This commit enhances the reliability of the installation script by correcting syntax and improving user feedback.
2024-12-11 17:12:51 +08:00
Xx
61392768a9 fix: Correct syntax error in install.sh
- 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.
2024-12-11 17:08:47 +08:00
Xx
44226aebf1 refactor: Revise README.md for clarity and structure
- 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.
2024-12-11 17:07:31 +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
煎饼果子卷鲨鱼辣椒
394e144a2e
Merge pull request #9 from dacrab/master
Improvements
2024-12-11 13:14:31 +08:00
Vaggelis kavouras
70dda905d6 feat: Improve configuration management and enhance user experience
- 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.
2024-12-10 21:19:50 +02:00
Vaggelis kavouras
3d288e3bd8 feat: Update module path and dependencies; enhance README
- 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.
2024-12-10 21:13:47 +02: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.
v0.0.2
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
煎饼果子卷鲨鱼辣椒
fb2358c86f
Merge pull request #4 from scoful/master
enhance:增加备份文件功能
2024-12-10 21:56:53 +08:00
scoful
7b3418f169 enhance:增加备份文件功能 2024-12-10 16:44:55 +08:00
羽大大
32eb8297a5
Merge pull request #1 from HappySinha/patch-1
Window path update: Roaming
2024-12-09 22:27:20 +08:00
Abhishek Kumar
835b6622a2
Window path update: Roaming 2024-12-09 18:36:12 +05:30
Xx
99a6e6ba10 Update README.md to reflect that MacOS and Linux are now tested and supported, enhancing clarity on system compatibility. 2024-12-09 19:17:58 +08:00
Xx
98883c15ef Update README.md to include important usage guidelines and disclaimers for the Cursor Free Trial Reset Tool, clarifying intended scenarios and emphasizing compliance with trial terms. 2024-12-09 16:18:43 +08:00
Xx
5de4106ee6 Fix formatting in README.md by removing extra whitespace at the end of the file 2024-12-09 15:24:03 +08:00
Xx
9402a4b1d3 Add README.md for Cursor Free Trial Reset Tool with usage instructions and system support v0.0.1 2024-12-09 15:17:17 +08:00
Xx
089f5a9572 初始化版本 2024-12-09 15:00:45 +08:00