113 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
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
煎饼果子卷鲨鱼辣椒
0c59c68340 mac 2025-04-09 10:38:20 +08:00
Abdallah Diaa
2cc31dd77f Add Cursor free trial reset tool
---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yuaotian/go-cursor-help?shareId=XXXX-XXXX-XXXX-XXXX).
2025-04-09 00:47:38 +02:00
hieu.sats
4daa24e80a Fix process detection in Linux script to avoid terminating itself 2025-03-30 22:41:47 +07:00
hieu.sats
6d53a926e0 Fix syntax error in cursor_linux_id_modifier.sh script 2025-03-30 17:03:09 +07:00
hulu135289
b0455d2c46 修正脚本Linux版本路径问题 2025-03-29 08:14:28 +08:00
煎饼果子卷鲨鱼辣椒
ff17ed48d7 更新cursor_linux_id_modifier.sh和cursor_mac_id_modifier.sh脚本 2025-03-26 23:04:58 +08:00
煎饼果子卷鲨鱼辣椒
df9507a433
Merge pull request #374 from LeaveC/master
Update cursor_mac_id_modifier.sh
2025-03-26 23:00:17 +08:00
LeaveC
f4d8ba125c
Update cursor_mac_id_modifier.sh
去除重置机器码选项
2025-03-26 16:31:40 +08:00
煎饼果子卷鲨鱼辣椒
9ec3f0518c 更新cursor_linux_id_modifier.sh脚本,修改了macOS版本信息的日志输出,注释掉了Linux环境检查的相关代码,并优化了应用修复选项的菜单选择提示,以提升用户交互体验。 2025-03-24 15:09:57 +08:00
LeaveC
2a382d7faa
免重置机器码,完美去除app机器码校验 2025-03-24 14:18:38 +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
Lintech
34b45b5dda
Update cursor_linux_id_modifier.sh
Updated the Linux-specific script to support Cursor v0.47.x, optimized device ID generation logic, enhanced process termination safety, fixed path detection for non-standard installations, improved error handling/logging, added backup/restore functionality, and synchronized multilingual user prompts.
2025-03-21 14:31:27 +03:00
煎饼果子卷鲨鱼辣椒
28de33a5ad 添加修复"应用已损坏"功能到cursor_mac_id_modifier.sh脚本,提供用户选项以解决macOS提示应用已损坏无法打开的问题。增强了日志记录和用户提示信息,提升了脚本的交互性和用户体验。 2025-03-21 19:21:18 +08:00
煎饼果子卷鲨鱼辣椒
f2e315beac 优化cursor_win_id_modifier.ps1脚本,增强注册表操作的错误处理和用户提示信息,确保在获取和更新MachineGuid时提供更清晰的反馈。同时,简化了备份文件的创建逻辑,仅在原始值存在时进行备份,提升了脚本的稳定性和用户体验。 2025-03-18 00:36:07 +08:00
煎饼果子卷鲨鱼辣椒
7b0e701422 支持版本更新 2025-03-17 11:17:28 +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
Abdillah Bakari
92d88d275d
fix: correctly identify storage file path when run with sudo 2025-03-07 08:35:12 +03: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
hzz
27b2f28765 Bugfix: 修复删除 cursor-updater 目录失败的问题
问题描述:
在 Windows 系统上,如果用户已经执行过脚本,cursor-updater文件已存在,再次执行脚本删除cursor-updater目录会报错
2025-02-22 22:59:02 +08:00
煎饼果子卷鲨鱼辣椒
644d663a4e feat: Enhance Linux ID modifier with advanced file modification checks
- Improved random ID generation to ensure single-line output
- Added chattr attribute removal for immutable files before modification
- Enhanced file modification reliability by handling read-only file attributes
- Implemented pre-modification checks to prevent potential configuration errors
2025-02-19 11:19:29 +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
煎饼果子卷鲨鱼辣椒
d83c95e413 feat: Enhance config file modification with special character escaping
- Added robust character escaping for keys and values in JSON configuration
- Used sed to safely handle special characters during file modification
- Improved reliability of modify_or_add_config function
- Prevented potential sed parsing errors with advanced escaping techniques
2025-02-18 14:53:10 +08:00
PikPikcU
706830daff
Fix syntax error near unexpected token 2025-02-16 07:31:57 +07:00
煎饼果子卷鲨鱼辣椒
dc1e0fd13c refactor: Optimize Cursor Linux ID modifier script for improved reliability
- Simplified process management with more precise process detection using pgrep
- Enhanced system ID generation with improved randomization techniques
- Implemented robust configuration file modification function
- Improved backup and file handling with better error checking
- Streamlined file permission and ownership management
- Added Linux-specific system checks and compatibility improvements
2025-02-16 00:24:58 +08:00
煎饼果子卷鲨鱼辣椒
19f4beec47 refactor: Streamline Cursor app modification script workflow
- Removed unnecessary function calls in main script execution
- Simplified post-configuration process by focusing on essential registry updates
- Removed redundant file tree display after configuration changes
2025-02-13 17:24:10 +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
煎饼果子卷鲨鱼辣椒
7ed6397075 refactor: Improve MachineGuid update function with enhanced error handling and recovery
- Replaced reg.exe query with PowerShell registry cmdlets for more robust access
- Added comprehensive error checking and validation for registry operations
- Implemented more detailed backup and restore mechanisms
- Enhanced logging and error reporting for MachineGuid modification process
- Improved function to return boolean status for better error tracking
2025-02-12 11:42:09 +08:00
煎饼果子卷鲨鱼辣椒
dc8807f3dc refactor: Improve MachineGuid backup and error handling robustness
- Added fallback backup location when default backup directory is unavailable
- Enhanced GUID parsing with additional null checks
- Improved backup file recovery error handling
- Added warning message for scenarios without backup file
- Refined error recovery mechanism with more comprehensive checks
2025-02-12 11:40:09 +08:00
煎饼果子卷鲨鱼辣椒
30af54da9c feat: Enhance MachineGuid modification with robust error handling and admin privileges
- Added administrator privilege check before script execution
- Improved MachineGuid update function with detailed error handling
- Implemented comprehensive registry backup and validation
- Added color-coded console output for better user feedback
- Enhanced error recovery mechanism with automatic backup restoration
- Integrated new configuration generation and MachineGuid update in main workflow
2025-02-12 11:33:26 +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