mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-02 20:47:35 +08:00
Update 107
This commit is contained in:
parent
4e0289c86c
commit
54cd8cf323
@ -17,7 +17,7 @@ This is a tool to automatically register (except for Google verification code),
|
|||||||
這是一個自動化工具,自動註冊(除了Google驗證碼),支持 Windows 和 macOS 系統,完成Auth驗證,重置Cursor的配置。
|
這是一個自動化工具,自動註冊(除了Google驗證碼),支持 Windows 和 macOS 系統,完成Auth驗證,重置Cursor的配置。
|
||||||
|
|
||||||
<p align="center">
|
<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>
|
</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -31,7 +31,8 @@ a = Analysis(
|
|||||||
('reset_machine_manual.py', '.'),
|
('reset_machine_manual.py', '.'),
|
||||||
('cursor_register.py', '.'),
|
('cursor_register.py', '.'),
|
||||||
('browser.py', '.'),
|
('browser.py', '.'),
|
||||||
('control.py', '.')
|
('control.py', '.'),
|
||||||
|
('.env', '.')
|
||||||
],
|
],
|
||||||
hiddenimports=[
|
hiddenimports=[
|
||||||
'cursor_auth',
|
'cursor_auth',
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 56 KiB |
BIN
images/new107_2025-01-15_13-53-56.png
Normal file
BIN
images/new107_2025-01-15_13-53-56.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
11
logo.py
11
logo.py
@ -2,8 +2,14 @@ from colorama import Fore, Style, init
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
import os
|
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')
|
version = os.getenv('VERSION', '1.0.0')
|
||||||
|
|
||||||
# 初始化 colorama
|
# 初始化 colorama
|
||||||
@ -29,6 +35,5 @@ CURSOR_LOGO = f"""
|
|||||||
def print_logo():
|
def print_logo():
|
||||||
print(CURSOR_LOGO)
|
print(CURSOR_LOGO)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print_logo()
|
print_logo()
|
Loading…
x
Reference in New Issue
Block a user