70 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
4f8f988518 改进cursor_mac_id_modifier.sh脚本中的用户输入处理,采用更健壮的方式读取用户选择,增强了输入缓冲区清空机制。添加调试日志以便于追踪用户输入,确保脚本在输入问题时不会终止,提升了脚本的稳定性和用户体验。 2025-03-14 19:14:29 +08:00
煎饼果子卷鲨鱼辣椒
cf20a2a470 重构cursor_mac_id_modifier.sh脚本中的Cursor修复选项,将其移至脚本末尾,简化用户选择流程。改进了提示信息和用户输入处理,提升了脚本的交互性和用户体验。 2025-03-14 18:57:29 +08:00
煎饼果子卷鲨鱼辣椒
56688bdf5d 添加Cursor修复功能到cursor_mac_id_modifier.sh脚本,允许用户选择恢复原始安装或强制修复。改进了用户输入处理和提示信息,提升了脚本的交互性和用户体验。 2025-03-14 18:45:38 +08:00
煎饼果子卷鲨鱼辣椒
1fe30260b0 优化cursor_mac_id_modifier.sh脚本的用户输入处理,改进提示信息和输入方式,确保用户选择更直观。此更改提升了用户体验和脚本的交互性。 2025-03-14 18:32:17 +08:00
煎饼果子卷鲨鱼辣椒
b3620ff9f3 修复cursor_mac_id_modifier.sh脚本中的语法错误,确保条件语句正确结束。此更改提高了脚本的稳定性和可读性。 2025-03-14 18:21:56 +08:00
煎饼果子卷鲨鱼辣椒
26355e2270 增强Cursor ID修改工具的日志记录功能,添加日志初始化和命令输出记录,改进错误处理和用户提示信息,确保用户能够更好地追踪脚本执行过程中的关键操作和状态。 2025-03-14 18:13:32 +08:00
煎饼果子卷鲨鱼辣椒
a63fcac86b 更新文档以支持Cursor v0.47.x版本,修改相关提示信息并增强脚本功能以处理设备ID生成。包括对Windows和Mac/Linux的支持更新,确保用户获得最新信息。 2025-03-14 18:07:25 +08:00
Tinyu-Zhao
8bde88472f 修复在macOS下会将系统进程CursorUIViewService识别成Cursor进程的错误 2025-03-03 09:37:20 +08:00
煎饼果子卷鲨鱼辣椒
419dadf308 壮举:增强光标MAC自动更新禁用机制
- 添加了综合方法来禁用光标自动更新MacOS
 - 实现App-update.yml文件的备份和修改
 - 改进的光标 - 上层目录处理,并使用可靠的错误检查
 - 添加了自动更新禁用的详细验证步骤
 - 在此过程中增强的记录和用户指导
2025-02-26 21:19:07 +08:00
煎饼果子卷鲨鱼辣椒
e8e37b3f89 feat: Improve Cursor Mac ID modifier with advanced file modification checks
- Added comprehensive file existence and modification verification
- Implemented detailed logging for target file status
- Enhanced script reliability with pre-modification checks
- Prevented unnecessary modifications to already updated files
- Introduced more informative warning and error messages
2025-02-18 16:47:25 +08:00
煎饼果子卷鲨鱼辣椒
73773be6d8 fix: Correct syntax error in Cursor app modification script
- Fixed a syntax error by replacing `}` with `fi` in the directory existence check
- Ensured proper shell script syntax for conditional block termination
2025-02-13 16:47:08 +08:00
煎饼果子卷鲨鱼辣椒
dc60f1ef07 refactor: Enhance Cursor app modification script with robust backup and replacement mechanism
- Improved application replacement process with sudo-based file operations
- Added comprehensive backup creation before app modification
- Enhanced error handling during app replacement and restoration
- Simplified temporary file cleanup and permission management
- Removed code signing verification step
- Streamlined sudo usage for critical file operations
2025-02-13 16:38:47 +08:00
煎饼果子卷鲨鱼辣椒
68eff9c9d9 refactor: Improve Cursor app code signing with robust retry mechanism
- Enhanced code signing process with multi-attempt strategy
- Added detailed logging and error handling for signing failures
- Implemented signature verification before app replacement
- Provided manual recovery instructions for persistent signing issues
- Removed automatic backup creation step
2025-02-13 16:29:51 +08:00
煎饼果子卷鲨鱼辣椒
bfd4aacecd fix: Correct shell script syntax in file modification function
- Fixed incorrect closing brace `}` with proper shell script `fi` syntax
- Corrected conditional statement termination in file processing
- Maintained consistent error handling and logging approach
2025-02-10 18:06:03 +08:00
煎饼果子卷鲨鱼辣椒
150eb4ac95 fix: Correct syntax errors in Cursor app modification script
- Replaced incorrect closing braces `}` with proper shell script `fi` syntax
- Fixed conditional statement terminations in file modification functions
- Improved script readability and prevented potential syntax errors
- Maintained consistent error handling and logging approach
2025-02-10 17:51:22 +08:00
煎饼果子卷鲨鱼辣椒
27d9b84604 refactor: Streamline Cursor app modification with simplified file handling
- Simplified file copying process using direct `cp` command
- Reduced complexity of signature removal for app and helper components
- Improved error handling and logging for file modification steps
- Optimized file permission and ownership management
- Removed LaunchServices database rebuild step
- Enhanced file content modification with more precise string manipulation
- Simplified app replacement and backup mechanism
2025-02-10 17:43:16 +08:00
煎饼果子卷鲨鱼辣椒
e59b1130ad refactor: Improve file modification logic with precise syntax corrections
- Fixed syntax errors in conditional statements by replacing `}` with `fi`
- Enhanced error handling and code readability in file modification process
- Corrected file existence and content modification checks
- Maintained consistent error logging and validation approach
2025-02-10 17:24:11 +08:00
煎饼果子卷鲨鱼辣椒
f3933dc398 refactor: Enhance Cursor app modification with robust file handling and error management
- Significantly improved file modification process with comprehensive error checking
- Added advanced file copying techniques using pv or rsync with progress tracking
- Implemented detailed validation for file copy integrity
- Enhanced signature removal process with timeout and fallback mechanisms
- Added granular logging for each modification step
- Improved error handling for Helper process signature removal
- Implemented backup and restore strategy for modified files
- Added more informative error messages and user guidance
2025-02-10 17:01:50 +08:00
煎饼果子卷鲨鱼辣椒
79fed06fd9 refactor: Improve codesign process with timeout and fallback mechanisms
- Added timeout for signature removal to prevent hanging
- Implemented fallback strategies for signature removal
- Enhanced error handling for Helper process signature removal
- Added logging for signature removal attempts and failures
2025-02-10 16:16:38 +08:00
煎饼果子卷鲨鱼辣椒
11275296b4 refactor: Enhance Cursor app modification with improved file handling and signing
- Replaced `cp` with `rsync` for more robust file copying
- Added detailed logging for file modification steps
- Improved file permission management during modification
- Enhanced codesign process with better metadata preservation
- Added LaunchServices database rebuild after modification
- Improved error handling and user guidance for signing issues
- Temporarily disabled restore feature for future refinement
2025-02-10 16:05:53 +08:00
煎饼果子卷鲨鱼辣椒
11cda5b82d feat: Add Cursor application path definition for file modification
- Defined a clear path constant for the Cursor application
- Prepared for future file modification operations
- Improved script configuration with explicit application location
2025-02-10 15:53:46 +08:00
煎饼果子卷鲨鱼辣椒
e3da5eadd1 refactor: Implement safe and comprehensive Cursor app file modification
- Introduced a new safe modification approach using temporary app copy
- Added signature removal and re-signing process for enhanced compatibility
- Implemented precise file content modification with position-based replacement
- Created automatic backup of original Cursor.app with timestamp
- Improved error handling and rollback mechanism during modification
- Enhanced file permission and ownership management
- Added detailed logging for each modification step
2025-02-10 15:45:52 +08:00
煎饼果子卷鲨鱼辣椒
41d6554ac8 refactor: Improve backup and modification process for Cursor files
- Updated backup file location to use a dedicated user directory
- Enhanced backup process with more robust file handling
- Simplified backup and file modification error handling
- Added detailed manual modification instructions for edge cases
- Improved logging and user guidance for file modifications
- Added a warning for potential post-modification issues
2025-02-10 11:51:16 +08:00
煎饼果子卷鲨鱼辣椒
4b3d154199 refactor: Simplify Cursor file modification and error handling
- Removed SIP status check and related user interaction
- Simplified file modification process with a single modification flag
- Enhanced error handling with a more concise approach
- Added detailed manual modification instructions for failed file updates
- Reduced verbosity of logging and error messages
- Improved overall script readability and maintainability
2025-02-10 11:28:29 +08:00
煎饼果子卷鲨鱼辣椒
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