82 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
8a3ff84f08 feat: Enhance backup file restoration in Cursor MAC ID modifier
- Improved restore feature with more robust file selection mechanism
- Added validation for backup file selection
- Enhanced user interaction with numbered backup file list
- Implemented error handling for backup restoration process
- Simplified restore feature logic and user experience
2025-02-08 09:45:51 +08:00
煎饼果子卷鲨鱼辣椒
b4fd75079c feat: Add macOS system check and configuration restore feature to Cursor MAC ID modifier
- Implemented system check to ensure script runs only on macOS
- Added new restore functionality to recover previous configuration from backups
- Enhanced script with user-friendly backup file selection
- Improved error handling and system compatibility
2025-02-07 18:22:16 +08:00
煎饼果子卷鲨鱼辣椒
8dff3e96c6 feat: Enhance Cursor Linux ID modifier with improved config generation and validation
- Simplified machine ID generation by directly combining prefix and random ID
- Improved sed escape function to handle special characters
- Added JSON configuration file validation using jq
- Implemented fallback mechanism to restore backup if config is invalid
- Streamlined machine ID and device ID generation process
2025-02-07 18:16:25 +08:00
煎饼果子卷鲨鱼辣椒
4d68f4bdb7 refactor: Improve Cursor ID modifier script messaging and formatting
- Updated script header text for Linux, Mac, and Windows versions
- Refined public account promotion message
- Clarified tool description and version support
- Improved readability of promotional text
- Maintained consistent formatting across platforms
2025-02-07 12:23:39 +08:00
煎饼果子卷鲨鱼辣椒
a1625536a2 feat: Automatically disable Cursor auto-update during MAC ID modification
- Directly execute auto-update disabling after MAC address modification
- Remove interactive menu for auto-update disabling
- Add informative messages about auto-update disabling process
- Provide clear instructions for manually re-enabling updates if needed
2025-02-07 12:13:21 +08:00
煎饼果子卷鲨鱼辣椒
5fb473013b refactor: Simplify Cursor auto-update disabling process
- Streamlined auto-update disabling workflow with direct execution
- Removed interactive menu complexity
- Simplified user input handling
- Maintained core auto-update disabling logic
- Added straightforward prompt for user choice
2025-02-07 12:05:38 +08:00
煎饼果子卷鲨鱼辣椒
3041fb84ca fix: Update Cursor auto-update cache directory path
- Corrected the path for the Cursor updater cache directory
- Changed from `~/Library/Application Support/cursor-updater` to `~/Library/Application Support/Caches/cursor-updater`
- Ensures proper auto-update disabling process on macOS
2025-02-07 11:56:22 +08:00
煎饼果子卷鲨鱼辣椒
76c7832b38 refactor: Streamline Cursor auto-update disabling process
- Simplified auto-update disabling workflow with direct sudo commands
- Improved input handling with explicit input validation
- Added debug logging for input tracking
- Removed complex manual guide function
- Enhanced error handling and command execution
- Simplified file permission and creation logic
2025-02-07 11:30:23 +08:00
煎饼果子卷鲨鱼辣椒
0c59acaed6 fix: Correct syntax errors in configuration file generation function
- Fixed missing `fi` keywords in conditional blocks
- Resolved potential shell script syntax issues in `generate_new_config()`
- Maintained existing configuration file generation logic
2025-02-07 10:42:54 +08:00
煎饼果子卷鲨鱼辣椒
6e773bdd29 refactor: Improve configuration file modification robustness and error handling
- Enhanced `modify_or_add_config()` function with more robust file modification approach
- Added temporary file-based modification to prevent partial writes
- Implemented additional file permission and existence checks
- Improved error handling with more granular logging and error conditions
- Ensured clean file modification and temporary file cleanup
2025-02-07 10:34:50 +08:00
煎饼果子卷鲨鱼辣椒
89751a79c3 feat: Improve error handling in configuration modification function
- Added detailed error messages for configuration file modification failures
- Enhanced logging to provide specific guidance for manual configuration updates
- Maintained existing key replacement and addition logic
- Improved user feedback for configuration modification errors
2025-02-07 10:23:56 +08:00
煎饼果子卷鲨鱼辣椒
1ac23403e5 feat: Enhance configuration modification with error handling and file existence check
- Added file existence check before configuration modification
- Implemented error logging for file modification failures
- Added return value checks for sed operations
- Improved error handling in `modify_or_add_config()` function
- Maintained existing configuration key replacement and addition logic
2025-02-07 10:17:56 +08:00
煎饼果子卷鲨鱼辣椒
88541eaeda fix: Correct syntax error in auto-update disabling function
- Fixed missing `fi` keyword in conditional block
- Resolved potential shell script syntax issue
- Maintained existing auto-update disabling logic
2025-02-07 10:16:14 +08:00
煎饼果子卷鲨鱼辣椒
2bfac391b3 refactor: Improve logging and restart instructions in Cursor file modification script
- Updated logging messages to include specific file path in configuration update
- Simplified file modification success logging
- Added separate log message for Cursor restart instructions
- Maintained existing file modification and permission setting logic
2025-02-07 10:14:58 +08:00
煎饼果子卷鲨鱼辣椒
3970940524 feat: Improve configuration file modification with flexible key handling
- Added `modify_or_add_config()` function to handle existing and new configuration keys
- Enhanced file modification logic to support adding missing keys
- Refactored `generate_new_config()` to use new configuration modification method
- Maintained existing telemetry ID generation and file permission setting
- Improved script flexibility for configuration file updates
2025-02-07 10:08:33 +08:00
煎饼果子卷鲨鱼辣椒
cecccd2c7f feat: Enhance Cursor auto-update disabling workflow
- Implemented interactive menu for auto-update disabling
- Added option to exit auto-update configuration
- Improved error handling and user guidance
- Refined user experience with clearer prompts and input validation
- Updated final success message for MAC address modification
2025-02-07 09:59:54 +08:00
煎饼果子卷鲨鱼辣椒
f85d60789e fix: Remove unnecessary braces in MAC address modification logic
- Fixed syntax issues in MAC address modification function
- Removed redundant closing braces in conditional statements
- Maintained existing MAC address modification workflow
- Improved script readability and syntax correctness
2025-02-06 18:21:37 +08:00
煎饼果子卷鲨鱼辣椒
e3f6e51984 feat: Add MAC address modification feature to Cursor ID modifier script
- Implemented MAC address modification functionality for Mac users
- Added network interface selection and random MAC address generation
- Created backup mechanism for original MAC addresses
- Integrated optional MAC address modification into main script workflow
- Updated README files with MAC address modification warning and details
2025-02-06 17:53:40 +08:00
煎饼果子卷鲨鱼辣椒
a8933b848d refactor: Disable file content validation in Cursor Mac ID modifier script
- Commented out file content validation and logging checks
- Simplified file modification process by removing redundant validation steps
- Maintained existing file replacement logic
- Reduced script complexity while preserving core functionality
2025-02-06 10:51:15 +08:00
煎饼果子卷鲨鱼辣椒
d86701fd94 refactor: Improve Cursor file modification validation and logging
- Enhanced file content validation with more flexible regex matching for crypto.randomUUID()
- Added debug logging to preview file contents during validation
- Improved error detection and logging for file modification process
- Maintained existing script modification strategy with more robust validation
2025-02-06 10:32:43 +08:00
煎饼果子卷鲨鱼辣椒
d8810042f1 refactor: Simplify error handling in Cursor file modification logic
- Removed unnecessary curly braces in error handling blocks
- Improved code readability by simplifying conditional statements
- Maintained existing file modification and validation approach
- Ensured consistent script error handling pattern
2025-02-06 10:09:51 +08:00
煎饼果子卷鲨鱼辣椒
63beebef24 refactor: Enhance Cursor file modification logic with robust error handling
- Replaced awk-based file parsing with more precise sed replacement
- Added comprehensive validation checks for file modifications
- Improved error logging and handling during file processing
- Updated user guidance message to include restart and potential reinstallation instructions
- Maintained existing script functionality with more resilient modification approach
2025-02-06 09:52:51 +08:00
煎饼果子卷鲨鱼辣椒
3d832fbd7d chore: Minor whitespace addition in Mac ID modifier script
- Added an empty line at the end of the script
- Maintained existing script functionality
- Ensured consistent file formatting
2025-02-05 18:17:26 +08:00
煎饼果子卷鲨鱼辣椒
d8f7964d36 refactor: Improve Cursor app file modification logic in Mac ID modifier script
- Replaced complex file parsing with awk-based content modification
- Simplified UUID replacement strategy using crypto.randomUUID()
- Enhanced error handling and file processing robustness
- Optimized temporary file management during script execution
2025-02-05 18:14:35 +08:00
煎饼果子卷鲨鱼辣椒
2a93a856bf refactor: Minor formatting adjustment in Mac ID modifier script
- Removed redundant comment for No Color terminal code
- Maintained existing script structure and functionality
2025-02-05 18:02:31 +08:00
煎饼果子卷鲨鱼辣椒
60def59221 feat: Add Cursor app file modification to Mac ID modifier script
- Implemented `modify_cursor_app_files()` function to patch Cursor's main and CLI JavaScript files
- Added file backup mechanism before modification
- Dynamically locate and replace UUID generation logic in app files
- Ensure proper file permissions and ownership after modification
- Integrated new modification step into main script workflow
2025-02-05 15:40:44 +08:00
煎饼果子卷鲨鱼辣椒
edc68edddb style: Refine Cursor ID modifier script UI and messaging
- Adjusted title spacing in Linux, Mac, and Windows scripts
- Standardized promotional message formatting
- Removed redundant text in Windows script
- Improved visual consistency across platform-specific scripts
2025-02-05 15:05:25 +08:00
煎饼果子卷鲨鱼辣椒
be4c3a7681 feat: Update Cursor ID modifier scripts with version support and promotional messaging
- Updated Linux, Mac, and Windows scripts to support Cursor v0.45.x
- Added promotional message encouraging users to follow public WeChat account
- Refined logo and tool title display
- Removed outdated version support warnings
- Enhanced script messaging with additional context and community engagement
2025-02-05 14:59:04 +08:00
煎饼果子卷鲨鱼辣椒
b0950287a3 refactor: Simplify Mac system UUID modification process
- Removed user confirmation prompt for UUID modification
- Automatically update system UUID without additional user interaction
- Added clear console output to inform user about UUID change and restart requirement
2025-02-05 14:40:44 +08:00
煎饼果子卷鲨鱼辣椒
3d61fa9753 fix: Improve error messages for Linux and Mac ID modifier scripts
- Updated error messages in Linux script to include specific package installation commands
- Enhanced Mac script's UUID modification prompt with better formatting and color
- Added spacing to improve readability of user prompts
2025-02-05 11:53:19 +08:00
煎饼果子卷鲨鱼辣椒
1c898ec594 feat: Add system ID backup and modification for Linux and Mac scripts
- Implemented `backup_system_id()` function for both Linux and Mac scripts
- Added system ID backup with timestamped files and detailed information
- Introduced machine-id modification for Linux systems
- Added system UUID modification option for Mac systems
- Enhanced logging and user interaction for system ID changes
2025-02-04 22:38:17 +08:00
煎饼果子卷鲨鱼辣椒
719b418b7f docs: Add detailed registry modification documentation to README files
- Added comprehensive explanation of MachineGuid registry modification in both English and Chinese README files
- Included safety measures, potential impacts, and recovery steps for registry changes
- Updated Windows PowerShell script to provide additional registry modification information
- Enhanced user awareness about system-level modifications and their implications
2025-02-04 22:20:52 +08:00
煎饼果子卷鲨鱼辣椒
fe5c1253e9 Update Cursor version support in README and Windows script
- Updated README files to indicate support for Cursor 0.45.x on Windows
- Added version detection function in Windows PowerShell script
- Improved version information display and user guidance
- Marked Mac/Linux 0.45.x support as under testing
2025-02-04 22:11:38 +08:00
煎饼果子卷鲨鱼辣椒
e9bcc02a10 feat: Enhance Cursor ID modifier script with advanced ID generation and version compatibility
- Improved random ID generation with more robust cryptographic methods
- Added new functions for generating standard machine and UUID identifiers
- Implemented version compatibility check for Cursor versions
- Enhanced user guidance with detailed version-specific instructions
- Added automatic MachineGuid update and backup functionality
- Introduced optional auto-update disabling feature with comprehensive error handling
2025-02-04 22:06:10 +08:00
Nx
a66bb1d8ab fix disable_auto_update command 2025-02-02 15:29:21 +08:00
煎饼果子卷鲨鱼辣椒
5501f2d447 Enhance sed command safety with advanced escaping in Linux Cursor ID modifier
- Implemented a custom escape function to handle special characters in sed replacements
- Improved variable escaping to prevent potential sed command injection
- Updated sed substitution syntax to use more robust delimiters
- Maintained existing file modification and permission logic
2025-01-25 20:51:14 +08:00
煎饼果子卷鲨鱼辣椒
0be607f986 Improve sed command safety in Linux Cursor ID modifier script
- Updated sed commands to use safer delimiters and variable escaping
- Replaced hardcoded delimiters with more robust sed substitution syntax
- Maintained existing file modification logic with enhanced security
- Preserved file permission settings after configuration update
2025-01-25 20:20:46 +08:00
煎饼果子卷鲨鱼辣椒
708285a2ef Refactor disable_auto_update() function in Linux script
- Improved error handling logic with more concise conditional checks
- Replaced complex multi-line command with an if statement for better readability
- Simplified file permission and ownership setting validation
- Maintained existing error logging and manual guide display functionality
2025-01-25 20:16:56 +08:00
煎饼果子卷鲨鱼辣椒
2cfd7e63e5 Add auto-update disabling feature to Cursor ID modifier scripts
- Implemented `disable_auto_update()` function for Linux, macOS, and Windows scripts
- Added interactive prompt to allow users to disable Cursor's automatic updates
- Included comprehensive manual guide for users if automatic disabling fails
- Enhanced error handling and validation for update disabling process
- Provided clear instructions and fallback methods across different platforms
2025-01-25 20:05:49 +08:00
煎饼果子卷鲨鱼辣椒
09a95b999f Enhance file permission settings for Cursor configuration files
- Updated Linux, macOS, and Windows scripts to set more restrictive file permissions
- Implemented read-only file access with additional validation checks
- Added fallback methods to ensure configuration file protection
- Improved logging for permission setting processes
2025-01-25 19:58:35 +08:00
loiosunrise
1c733d36b1 fix: fix the script error, it should be 'fi' instead of '}' 2025-01-25 12:07:34 +08:00
煎饼果子卷鲨鱼辣椒
a76b0ed71c Add instructions to disable auto-update feature in README files and update script
- Introduced a new section in both English and Chinese README files detailing methods to disable the auto-update feature for Cursor, including a built-in script and manual steps for Windows, macOS, and Linux.
- Updated the cursor_win_id_modifier.ps1 script to prompt users for disabling auto-update, enhancing user interaction and control over application settings.
- Included warnings about the need for manual updates after disabling the auto-update feature, improving overall user guidance.
2025-01-24 23:06:25 +08:00
煎饼果子卷鲨鱼辣椒
f7345eae36 Update README files and scripts to clarify Cursor version support
- Added important notices in both English and Chinese README files regarding supported Cursor versions: v0.44.11 and below are supported, while the latest 0.45.x versions are temporarily unsupported.
- Enhanced error handling in the cursor ID modifier scripts for Linux, macOS, and Windows to check for the existence of the configuration file before proceeding.
- Improved user feedback by including warnings about the required Cursor version in the script outputs.
- Streamlined the configuration update process in the scripts to ensure clarity and robustness.
2025-01-24 22:40:19 +08:00
煎饼果子卷鲨鱼辣椒
820d722ac9 Refactor README files and enhance cursor_win_id_modifier.ps1 script
- Removed outdated installation instructions for overseas users in both English and Chinese README files.
- Updated installation commands for macOS and Linux to point to the correct scripts.
- Added a success image display in the installation sections for better user feedback.
- Improved error handling and configuration writing in the cursor_win_id_modifier.ps1 script, ensuring directory existence and setting file permissions more robustly.
- Included a prompt for users to restart Cursor to apply new configurations and added a message to follow the official WeChat account for further engagement.
2025-01-22 14:45:16 +08:00
煎饼果子卷鲨鱼辣椒
8c3e6a7dd0 Add manual auto-update disable instructions in README files and update cursor_win_id_modifier.ps1 script
- Introduced a new section in both English and Chinese README files detailing how users can manually disable the auto-update feature for Windows and macOS/Linux.
- Updated the cursor_win_id_modifier.ps1 script to prompt users for disabling auto-update, providing a more interactive experience and handling the creation of a blocking file.
- Enhanced documentation to improve user guidance and control over the application settings.
2025-01-11 23:27:44 +08:00
煎饼果子卷鲨鱼辣椒
55ec244325 Refactor sed command syntax in cursor_linux_id_modifier.sh for improved readability
- Updated sed command delimiters from '/' to '|' for better clarity in modifying telemetry IDs.
- Ensured consistent formatting across multiple sed commands to enhance maintainability of the script.
2025-01-10 18:05:59 +08:00
煎饼果子卷鲨鱼辣椒
99c8e55475 Update README.md and cursor_linux_id_modifier.sh for improved user guidance and script functionality
- Enhanced README.md by updating WeChat contact information and adding a WeChat appreciation code section for better user engagement.
- Increased image sizes for better visibility in the README.
- Refined the sed command syntax in cursor_linux_id_modifier.sh for improved readability and consistency in modifying telemetry IDs.
- Ensured overall clarity and usability improvements across both the documentation and script.
2025-01-10 17:28:55 +08:00
煎饼果子卷鲨鱼辣椒
46cf8ac78f Refactor cursor_linux_id_modifier.sh for improved process handling and error checking
- Enhanced the method for identifying and terminating Cursor processes to ensure more accurate detection.
- Added error handling for missing commands and file permissions when backing up configuration files.
- Improved comments for clarity and consistency in the script's functionality.
- Updated the public account name in output messages for consistency across platforms.
2025-01-10 16:31:46 +08:00
煎饼果子卷鲨鱼辣椒
4b90d906ba Refactor cursor ID modifier scripts to improve output formatting and consistency
- Moved the display of public account information to the end of the output in the macOS script for better user experience.
- Adjusted the placement of public account information in the Windows script to enhance visibility and maintain consistency across platforms.
- Ensured that the message prompting users to restart Cursor is clearly presented in both scripts.
2025-01-09 00:25:09 +08:00
煎饼果子卷鲨鱼辣椒
9495ba7f71 Enhance ID generation in macOS and Windows scripts
- Added a function to generate random hexadecimal strings in the Windows ID modifier script for improved randomness.
- Updated the macOS script to concatenate a hexadecimal representation of the prefix "auth0|user_" with a random ID, ensuring a consistent format for machine IDs across platforms.
- Improved comments in both scripts for better clarity on the ID generation process.
2025-01-09 00:23:32 +08:00