33 Commits

Author SHA1 Message Date
yeongpin
9aa09c436e Enhance cursor path retrieval in reset_machine_manual.py for Linux systems
- Updated the get_workbench_cursor_path function to handle Linux systems more effectively.
- Added logic to use the first base path if no valid paths are found in the existing loop.
- Improved maintainability and clarity of the code by explicitly handling different operating systems.
2025-04-10 00:28:20 +08:00
yeongpin
6470c65f8b Update CHANGELOG.md for version 1.8.09, adding a fix for reset break and enhancing the button replacement logic in reset_machine_manual.py for improved maintainability and clarity. 2025-04-09 16:14:57 +08:00
Pin Studios
d8799cdf2e
Merge pull request #485 from moelbanna-bot/main
fix-linux-appimage
2025-04-04 06:12:59 +08:00
Mohamed Elbanna
be52ce98a6 Improve Linux cursor path detection to include extracted AppImage with correct usr structure and add debug output for found paths 2025-04-03 15:20:38 +02:00
Mohamed Elbanna
163748fd96 Refactor Linux path detection to use extracted AppImage with correct usr structure 2025-04-03 14:55:56 +02:00
Mohamed Elbanna
f888b8c90c Enhance Linux path detection for Cursor AppImage installations 2025-04-03 14:35:07 +02:00
吕海龙
80aab8741f feat: Add support for custom Cursor installation paths on Windows
- Modify base_path detection to use custom paths from config
- Replace forward slashes with backslashes in Windows path definition
2025-04-03 15:42:10 +08:00
Valentin Guerdin
d91485ec75
Patch Linux Path Not Found
add folder /usr/lib/cursor/app/
2025-04-02 14:32:27 +02:00
yeongpin
6e6180e331 fix: update reset emoji and correct button patterns for cross-platform compatibility 2025-03-31 17:49:35 +08:00
yeongpin
bd96107911 Format new GUID in reset_machine_manual.py to include braces for consistency. 2025-03-29 21:55:21 +08:00
yeongpin
c15ea25cb3 Update version to 1.8.02 in .env and CHANGELOG.md, adding new features and fixes including disabling auto-update, configuration options, and contributors options. 2025-03-29 21:49:57 +08:00
yeongpin
5f380ebe5e Refactor reset_machine_manual.py to remove deprecated comments and add new error message translations for file modification failures in English, Simplified Chinese, and Traditional Chinese locales. 2025-03-28 23:41:19 +08:00
yeongpin
c97bfd1475 Update CHANGELOG.md with specific Linux Chrome fix, add no-sandbox option in new_tempemail.py, and uncomment workbench path modification in reset_machine_manual.py. 2025-03-28 23:33:48 +08:00
Nigel1992
8943266f6e fix: Improve Linux path detection and config handling 2025-03-24 23:01:24 +01:00
Nigel1992
dc8cbca8ce fix: Update Linux machineId path to use lowercase cursor/machineid 2025-03-20 23:43:01 +01:00
Pin Studios
5574091273
Revert "feat: Add GitHub-based trial reset" 2025-03-16 10:44:40 +08:00
Nigel1992
975647765d feat: Add JavaScript trial reset code and update PR description 2025-03-15 23:52:39 +01:00
yeongpin
b98f094407 refactor: Internationalize and Clean Up Code Comments
- Translate Chinese comments to English across multiple files
- Improve code readability by using consistent, clear comments
- Remove redundant comments and simplify language-specific annotations
- Maintain existing code structure while enhancing internationalization
2025-03-11 12:09:07 +08:00
yeongpin
ff358588bb feat: Refactor Project Structure and Add Configuration Management
- Add `config.py` for centralized configuration management
- Add `utils.py` for cross-platform utility functions
- Remove `browser.py` and `control.py` to simplify project structure
- Update version to 1.7.06
- Modify build specification to reflect new file structure
- Update localization files with new update confirmation messages
- Enhance configuration loading and path detection across different platforms
2025-03-11 11:49:17 +08:00
yeongpin
4f6f3fe814 fix: Improve Cursor Version Check and Configuration Handling
- Enhance version checking in `reset_machine_manual.py` with more robust error handling
- Add detailed error messages and logging for version detection
- Update configuration paths in `new_signup.py` to include Cursor application path
- Add configuration initialization in `main.py`
- Update localization files with new error and version-related messages
2025-03-10 17:41:07 +08:00
yeongpin
90e9a5b287 feat: Enhance Configuration Management for Cursor Paths
- Add OS-specific path configurations for Cursor storage, SQLite, and machine ID files
- Integrate configuration file management in `new_signup.py` and `reset_machine_manual.py`
- Remove Workbench Cursor path and main.js modification steps
- Improve cross-platform path detection and configuration handling
- Update version to 1.7.02
2025-03-10 11:18:21 +08:00
yeongpin
02851c9a09 feat: Implement Configuration Management and Enhance Browser Setup
- Add `setup_config` function to manage configuration file across platforms
- Extract configuration-related code from `setup_driver` into a separate function
- Implement dynamic Chrome path detection for Windows, macOS, and Linux
- Add configurable Turnstile verification settings
- Update README.md with configuration file details
- Enhance localization support for configuration-related messages
- Improve code maintainability and platform compatibility
2025-03-07 11:18:43 +08:00
yeongpin
1b1a21f3d7 feat: Add Machine ID File Update Functionality
- Implement `update_machine_id_file` method in `MachineIDResetter` class
- Add new `get_cursor_machine_id_path` function to detect machineId file path across platforms
- Enhance machine ID reset process with file-level machine ID update
- Implement backup mechanism for existing machineId file
- Add cross-platform support for Linux, macOS, and Windows
- Improve error handling and logging with colorful console output
2025-03-06 18:36:00 +08:00
yeongpin
c94bd605e5 fix: Update GitHub Link in Workbench JS Modification
- Correct GitHub repository link to point to specific project repository
- Modify onClick handler to open the correct GitHub page for the project
2025-03-06 18:14:34 +08:00
yeongpin
9f6eee77e0 feat: Add Workbench JS Modification and Cursor Path Detection
- Update `MachineIDResetter` to include workbench.desktop.main.js modification step
- Enhance platform support for Linux, macOS, and Windows
- Update CHANGELOG.md to version 1.6.02
2025-03-06 18:11:40 +08:00
yeongpin
d852bcff50 feat: Enhance Multilingual Support and System Language Detection
- Add automatic system language detection for Windows and Unix-like systems
- Update localization files with new translation keys
- Improve language handling in various modules
- Translate more UI messages to English
- Add GitHub link to logo display
- Bump version to 1.4.04
2025-02-25 10:46:36 +08:00
yeongpin
7326d0eeb0 newest reset machine 2025-02-08 21:52:16 +08:00
yeongpin
7710ea4bb3 Update support 0.45 2025-02-05 19:21:34 +08:00
yeongpin
13483eed77 update auth message & reset message 2025-01-17 10:12:18 +08:00
yeongpin
eb69f933af Update & Fix reset machine problem 2025-01-15 17:14:05 +08:00
yeongpin
731db36121 new locale language file 2025-01-15 13:35:09 +08:00
yeongpin
ffd7b839e7 update stage 2025-01-15 11:07:20 +08:00
yeongpin
19fe4c85f8 Big Change Update 2025-01-14 14:47:41 +08:00