diff --git a/README.md b/README.md
index f04d4ef..034d61f 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ This is a tool to automatically register (except for Google verification code),
這是一個自動化工具,自動註冊(除了Google驗證碼),支持 Windows 和 macOS 系統,完成Auth驗證,重置Cursor的配置。
- 
+ 
diff --git a/build.spec b/build.spec
index 24f8a9f..9cd0e46 100644
--- a/build.spec
+++ b/build.spec
@@ -31,7 +31,8 @@ a = Analysis(
('reset_machine_manual.py', '.'),
('cursor_register.py', '.'),
('browser.py', '.'),
- ('control.py', '.')
+ ('control.py', '.'),
+ ('.env', '.')
],
hiddenimports=[
'cursor_auth',
diff --git a/images/new107_2025-01-15_13-45-57.png b/images/new107_2025-01-15_13-45-57.png
deleted file mode 100644
index ddaf127..0000000
Binary files a/images/new107_2025-01-15_13-45-57.png and /dev/null differ
diff --git a/images/new107_2025-01-15_13-53-56.png b/images/new107_2025-01-15_13-53-56.png
new file mode 100644
index 0000000..794869e
Binary files /dev/null and b/images/new107_2025-01-15_13-53-56.png differ
diff --git a/logo.py b/logo.py
index a8c61e6..c024409 100644
--- a/logo.py
+++ b/logo.py
@@ -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()
\ No newline at end of file