0
0
mirror of https://github.com/yeongpin/cursor-free-vip.git synced 2025-04-24 08:25:23 +00:00

Update 107

This commit is contained in:
yeongpin 2025-01-15 13:54:38 +08:00
parent 4e0289c86c
commit 54cd8cf323
5 changed files with 11 additions and 5 deletions

View File

@ -17,7 +17,7 @@ This is a tool to automatically register (except for Google verification code),
這是一個自動化工具自動註冊除了Google驗證碼),支持 Windows 和 macOS 系統完成Auth驗證重置Cursor的配置。
<p align="center">
<img src="./images/new107_2025-01-15_13-45-57.png" alt="new" width="400"/><br>
<img src="./images/new107_2025-01-15_13-53-56.png" alt="new" width="400"/><br>
</p>
<br>

View File

@ -31,7 +31,8 @@ a = Analysis(
('reset_machine_manual.py', '.'),
('cursor_register.py', '.'),
('browser.py', '.'),
('control.py', '.')
('control.py', '.'),
('.env', '.')
],
hiddenimports=[
'cursor_auth',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

11
logo.py
View File

@ -2,8 +2,14 @@ from colorama import Fore, Style, init
from dotenv import load_dotenv
import os
# 加載環境變量獲取版本號
load_dotenv()
# 獲取當前腳本所在目錄
current_dir = os.path.dirname(os.path.abspath(__file__))
# 構建.env文件的完整路徑
env_path = os.path.join(current_dir, '.env')
# 加載環境變量,指定.env文件路徑
load_dotenv(env_path)
# 獲取版本號,如果未找到則使用默認值
version = os.getenv('VERSION', '1.0.0')
# 初始化 colorama
@ -29,6 +35,5 @@ CURSOR_LOGO = f"""
def print_logo():
print(CURSOR_LOGO)
if __name__ == "__main__":
print_logo()