88 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
a864cf9284 gg 2025-06-05 11:56:37 +08:00
煎饼果子卷鲨鱼辣椒
f3953cd838 移除 Cursor 初始化清理函数的调用,这个方法还需要琢磨一下 2025-05-30 09:54:58 +08:00
煎饼果子卷鲨鱼辣椒
c1b7e42e27 新增 Cursor 初始化清理函数以删除不必要的文件和文件夹,提升脚本的稳定性和用户体验。该函数在 Linux 和 macOS 环境下均进行了实现,确保用户配置的清理工作能够顺利完成。 2025-05-29 17:08:19 +08:00
煎饼果子卷鲨鱼辣椒
291c6198bc Merge branch 'master' of https://github.com/yuaotian/go-cursor-help 2025-05-05 18:12:58 +08:00
煎饼果子卷鲨鱼辣椒
bc787f2076 新增辅助函数以判断接口类型、生成本地管理+单播MAC地址,并自动检测并调用第三方工具(macchanger或spoof-mac)以增强MAC地址修改功能的可靠性。同时,优化了临时禁用和重新启用接口的逻辑,提供了失败时的恢复/重试选项,提升了用户体验和脚本的稳定性。 2025-05-05 18:11:08 +08:00
yunfeidog
363518ad40 fix(mac): 修复mac环境下无法成功修改MAC地址的问题 2025-05-04 14:03:33 +08:00
煎饼果子卷鲨鱼辣椒
974852944b 在临时修改系统 MAC 地址的功能中,更新了调用方式以确保即使在执行过程中出现错误也不会中断后续操作。此更改通过在调用 change_system_mac_address 函数时添加 || true,提升了脚本的稳定性和用户体验。 2025-04-27 20:45:28 +08:00
煎饼果子卷鲨鱼辣椒
e481d97bd2 新增辅助函数以支持修改单个网络接口的 MAC 地址,并优化临时修改系统 MAC 地址的功能,现可处理所有活动的 Wi-Fi 和 Ethernet 接口。此更改包括详细的日志记录和错误处理,确保用户能够清晰了解每个接口的状态和修改结果,提升了功能的可靠性和用户体验。 2025-04-27 11:01:39 +08:00
煎饼果子卷鲨鱼辣椒
702bb5d05f 更新临时修改系统 MAC 地址的功能,通过路由表获取默认网络接口,提升了接口检测的准确性和可靠性。同时,调整了日志信息以更好地反映当前操作状态,确保用户能够清晰了解接口检测的结果和可能的默认设置。此更改旨在进一步优化用户体验和功能的稳定性。 2025-04-27 10:57:24 +08:00
煎饼果子卷鲨鱼辣椒
207689ff56 在临时修改系统 MAC 地址的功能中新增检查,以确保文件中是否已存在 randomDeviceId_ 时间戳模式。此更改通过日志记录跳过通用注入,提升了功能的可靠性和用户体验。 2025-04-23 23:11:35 +08:00
煎饼果子卷鲨鱼辣椒
a2d55a00a2 优化临时修改系统 MAC 地址的功能,增加了接口禁用和重新启用的步骤,以确保在修改过程中网络连接的稳定性。添加了详细的日志记录和错误处理,确保用户能够清晰了解 MAC 地址修改的状态和可能的失败原因。此更改旨在提升用户体验和功能的可靠性。 2025-04-22 16:13:29 +08:00
煎饼果子卷鲨鱼辣椒
d48d9fa1d0 新增临时修改系统 MAC 地址的功能,允许用户在不重启的情况下更改主网络接口的 MAC 地址。此更改包括自动检测主网络接口、生成随机 MAC 地址并执行修改,同时在日志中记录相关信息和警告。更新了主程序执行流程以默认调用此功能,确保用户在使用工具时了解相关风险和操作影响。 2025-04-22 11:46:42 +08:00
煎饼果子卷鲨鱼辣椒
33cd677188 更新 README 文件以反映最新的 Cursor 版本支持信息,从 0.47.x 更新至 0.49.x,确保文档的准确性和最新性。同时,更新了日志文件名称和内容,以更好地描述工具的功能。此更改旨在提升用户体验和文档的实用性。 2025-04-22 11:39:05 +08:00
煎饼果子卷鲨鱼辣椒
ff17ed48d7 更新cursor_linux_id_modifier.sh和cursor_mac_id_modifier.sh脚本 2025-03-26 23:04:58 +08:00
LeaveC
f4d8ba125c
Update cursor_mac_id_modifier.sh
去除重置机器码选项
2025-03-26 16:31:40 +08:00
LeaveC
fc4f4b870e
免重置机器码,完美去除app机器码校验 2025-03-24 14:14:08 +08:00
煎饼果子卷鲨鱼辣椒
42b6c3f159 重构cursor_mac_id_modifier.sh脚本,新增通用菜单选择函数以提升用户交互体验。优化了用户输入处理逻辑,简化了备份文件恢复和其他选项的选择过程,增强了日志记录功能,确保用户选择的可追溯性。 2025-03-23 20:48:50 +08:00
煎饼果子卷鲨鱼辣椒
28de33a5ad 添加修复"应用已损坏"功能到cursor_mac_id_modifier.sh脚本,提供用户选项以解决macOS提示应用已损坏无法打开的问题。增强了日志记录和用户提示信息,提升了脚本的交互性和用户体验。 2025-03-21 19:21:18 +08:00
煎饼果子卷鲨鱼辣椒
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