$ show yuaotian/go-cursor-help
This repository is a Cursor IDE trial reset tool that modifies system configurations to generate new unique identifiers for Cursor's telemetry fields. It consists of platform-specific scripts (shell for Linux/macOS, PowerShell for Windows) that stop Cursor processes, modify configuration files and registry entries, inject JavaScript hooks into Cursor's main.js files to intercept device identifier generation at runtime, and disable auto-update features. The tool works by creating persistent fake identifiers for telemetry.machineId, telemetry.macMachineId, telemetry.devDeviceId, and telemetry.sqmId, effectively resetting Cursor's trial period detection mechanisms.
The LLM identified 1 files worth highlighting for reuse:
This JavaScript hook implements a sophisticated multi-layered interception system that provides fake device identifiers to Cursor at runtime. It hooks into multiple Node.js APIs (child_process, os, fs, crypto, @vscode/deviceid, @vscode/windows-registry) to intercept all possible ways Cursor might access system identifiers. The hook features persistent ID storage via environment variables or config file, automatic fallback mechanisms, fs-level protection to prevent Cursor from overwriting telemetry fields, and both static and dynamic import hooking to cover different module loading patterns. This demonstrates advanced understanding of Node.js internals and Electron applications, making it a highly reusable pattern for similar device identifier spoofing needs.