fix: prevent drive auth browser launch
All checks were successful
CD Pipeline / deploy (push) Successful in 1m2s

This commit is contained in:
ogt
2026-06-25 15:51:37 +08:00
parent 0b30df4a65
commit 00948f5cc0
4 changed files with 19 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ if not os.path.exists('config/google_credentials.json'):
print("✅ 找到憑證檔案")
print()
print("正在啟動 OAuth 2.0 認證流程...")
print("瀏覽器將自動開啟,請完成授權。")
print("終端機會顯示授權網址,請在可登入 Google 的瀏覽器開啟後完成授權。")
print()
os.environ["GOOGLE_DRIVE_ALLOW_INTERACTIVE_AUTH"] = "true"