fix: prevent drive auth browser launch
All checks were successful
CD Pipeline / deploy (push) Successful in 1m2s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m2s
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user