46 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
9f42395a3e refactor: Improve MAC address modification user interaction and error handling
- Enhanced MAC address modification prompt with clearer default option
- Added robust input handling for MAC address modification choice
- Implemented informative logging for MAC address modification outcomes
- Simplified user interaction flow with case-based input processing
- Removed redundant log message and improved script logic
2025-02-10 11:22:21 +08:00
煎饼果子卷鲨鱼辣椒
5d33049d7b feat: Add SIP status check and enhance file modification safety in Cursor MAC ID modifier
- Implemented comprehensive System Integrity Protection (SIP) status check
- Added detailed user warnings and guidance for SIP-related risks
- Enhanced file backup and modification process with sudo permissions
- Improved error handling for file system permission issues
- Added safety checks and user confirmation before modifying system files
- Included informative messages about SIP status and recommended actions
2025-02-10 10:25:20 +08:00
煎饼果子卷鲨鱼辣椒
fd6872cb2d refactor: Optimize backup file discovery in restore feature
- Replaced `mapfile` with a more robust `while` loop for backup file collection
- Improved file validation during backup file discovery
- Enhanced error handling and file selection process
- Ensured only valid files are added to the backup files array
2025-02-10 10:18:21 +08:00
煎饼果子卷鲨鱼辣椒
3f3d0a6533 fix: Correct syntax errors in restore feature function
- Fixed missing `fi` statements in conditional blocks
- Resolved shell script syntax issues in `restore_feature()`
- Ensured proper control flow and error handling in backup restoration logic
2025-02-08 15:49:08 +08:00
煎饼果子卷鲨鱼辣椒
2bb74b41e0 refactor: Improve backup restoration logic in Cursor MAC ID modifier
- Enhanced restore feature with robust file discovery using `find`
- Added comprehensive error handling and validation for backup restoration
- Improved file selection process with sorted backup file list
- Implemented proper file permissions and ownership restoration
- Fixed potential edge cases in backup file selection and restoration
2025-02-08 15:39:19 +08:00
煎饼果子卷鲨鱼辣椒
4407650e67 fix: Correct syntax errors in restore feature function
- Fixed missing `fi` statements in conditional blocks
- Resolved potential shell script syntax issues in `restore_feature()`
- Ensured proper control flow and error handling in backup restoration logic
2025-02-08 10:15:31 +08:00
煎饼果子卷鲨鱼辣椒
2cc9adf8b8 refactor: Rename restore feature function for clarity
- Renamed `add_restore_feature()` to `restore_feature()`
- Simplified function name while maintaining existing functionality
- Improved code readability and consistency
2025-02-08 09:46:31 +08:00
煎饼果子卷鲨鱼辣椒
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
煎饼果子卷鲨鱼辣椒
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
Nx
a66bb1d8ab fix disable_auto_update command 2025-02-02 15:29:21 +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
煎饼果子卷鲨鱼辣椒
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
煎饼果子卷鲨鱼辣椒
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
煎饼果子卷鲨鱼辣椒
d0415ff710 Update cursor ID modifier scripts to correct public account name and adjust formatting
- Changed the public account name from "煎饼果子AI" to "煎饼果子卷AI" in both macOS and Windows ID modifier scripts for consistency.
- Adjusted spacing in the display message for "Cursor ID 修改工具" to improve visual alignment in both scripts.
- Ensured consistent user experience across different platforms by maintaining similar formatting in the output messages.
2025-01-09 00:14:47 +08:00
煎饼果子卷鲨鱼辣椒
82869fb32d chore: remove CHANGELOG.md and update README with proxy download instructions for domestic users
- Deleted the CHANGELOG.md file as it is no longer needed for project documentation.
- Updated the README.md to include proxy download instructions for Linux and macOS users in China.
- Added similar instructions for Windows users to facilitate easier access to installation scripts.
2025-01-08 18:48:53 +08:00