Vaggelis kavouras 6cc28518b4 feat: Enhance installation script and main.go for improved user experience
- Updated `install.sh` to include new configuration options for binary retention and download directory, enhancing user flexibility.
- Improved error handling and user feedback in the installation process, including clearer messages for network connectivity and binary verification.
- Added a cleanup function for old versions of the binary to streamline the installation process.
- Refactored `main.go` to improve language detection and configuration management, ensuring better usability across different systems.
- Enhanced README.md with updated installation instructions and clearer descriptions of features and system support.

These changes collectively improve the installation experience and provide users with more control and clarity during setup.
2024-12-12 20:49:52 +02:00

🚀 Cursor Free Trial Reset Tool

🌟 English

📝 Description

Resets Cursor's free trial limitation when you see:

Too many free trial accounts used on this machine.
Please upgrade to pro. We have this limit in place
to prevent abuse. Please let us know if you believe
this is a mistake.

💻 System Support

Windows x64
macOS Intel & M-series
Linux x64 & ARM64

📥 Installation

Linux/macOS

curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/install.sh | bash -s -- --auto-sudo && rm -f /tmp/cursor_id_modifier_*

Windows (Run in PowerShell as Admin)

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.0.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue

🔧 Technical Details

The program modifies Cursor's storage.json config file:

  • Windows: %APPDATA%\Cursor\User\globalStorage\
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/
  • Linux: ~/.config/Cursor/User/globalStorage/

Generates new unique identifiers for:

  • telemetry.machineId
  • telemetry.macMachineId
  • telemetry.devDeviceId

🌏 中文

📝 问题描述

当看到以下提示时重置Cursor试用期

Too many free trial accounts used on this machine.
Please upgrade to pro. We have this limit in place
to prevent abuse. Please let us know if you believe
this is a mistake.

💻 系统支持

Windows x64
macOS Intel和M系列
Linux x64和ARM64

📥 安装方法

Linux/macOS

curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/install.sh | bash -s -- --auto-sudo && rm -f /tmp/cursor_id_modifier_*

Windows (以管理员身份运行PowerShell)

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.0.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue

🔧 技术细节

程序修改Cursor的storage.json配置文件:

  • Windows: %APPDATA%\Cursor\User\globalStorage\
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/
  • Linux: ~/.config/Cursor/User/globalStorage/

生成新的唯一标识符:

  • telemetry.machineId
  • telemetry.macMachineId
  • telemetry.devDeviceId

📄 License

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Description
解决Cursor在免费订阅期间出现以下提示的问题: Your request has been blocked as our system has detected suspicious activity / You've reached your trial request limit. / Too many free trial accounts used on this machine.
Readme MIT 25 MiB
Languages
Shell 58%
Python 17.7%
Go 11.9%
PowerShell 11.7%
Batchfile 0.7%