refactor: update print statements for improved user feedback and change activation URLs in LicenseManager

- Modified print statements in cursor_pro_keep_alive.py and get_veri_code.py for clearer user prompts during execution.
- Updated activation and verification URLs in LicenseManager to point to the new server.
- Enhanced user experience by providing more informative messages during the verification and account registration processes.
This commit is contained in:
cheng zhen
2025-01-03 16:13:43 +08:00
parent 8a5db8e84e
commit 23d860836b
3 changed files with 17 additions and 17 deletions

View File

@@ -26,8 +26,8 @@ class LicenseManager:
self.license_file = os.path.join(config_dir, "CursorPro", "license.json")
# self.activation_url = "http://cursor.chengazhen.me/activate"
# self.verify_url = "http://cursor.chengazhen.me/verify"
self.activation_url = "http://127.0.0.1:3000/activate"
self.verify_url = "http://127.0.0.1:3000/verify"
self.activation_url = "http://119.8.35.41:3004/activate"
self.verify_url = "http://119.8.35.41:3004/verify"
self.key = b"Kj8nP9x2Qs5mY7vR4wL1hC3fA6tD0iB8"
self.encryption_key = b"f1e2d3c4b5a6978899aabbccddeeff00112233445566778899aabbccddeeff00" # 与服务器端相同的密钥