mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-06-23 14:16:52 +08:00
disable update browser. (really!!)
This commit is contained in:
@@ -43,6 +43,7 @@ def download_browser():
|
|||||||
raise RuntimeError("platform not supported")
|
raise RuntimeError("platform not supported")
|
||||||
if browser_path.exists() and os.listdir(str(browser_path)):
|
if browser_path.exists() and os.listdir(str(browser_path)):
|
||||||
logger.warning("Browser Exists, skip")
|
logger.warning("Browser Exists, skip")
|
||||||
|
return
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
driver_executable = compute_driver_executable()
|
driver_executable = compute_driver_executable()
|
||||||
env["PW_CLI_TARGET_LANG"] = "python"
|
env["PW_CLI_TARGET_LANG"] = "python"
|
||||||
|
|||||||
Reference in New Issue
Block a user