Spaces:
Running
Running
Update app_core.py
Browse files- app_core.py +1 -1
app_core.py
CHANGED
|
@@ -16,7 +16,7 @@ _pw_flag = Path("/tmp/.pw_chromium_installed")
|
|
| 16 |
if not _pw_flag.exists():
|
| 17 |
print("▶ Installing Playwright Chromium … (first-run only)")
|
| 18 |
# --with-deps тянет системные libnss, libatk и т. д.
|
| 19 |
-
subprocess.run(["playwright", "install", "
|
| 20 |
_pw_flag.touch()
|
| 21 |
|
| 22 |
# -------- third-party --------
|
|
|
|
| 16 |
if not _pw_flag.exists():
|
| 17 |
print("▶ Installing Playwright Chromium … (first-run only)")
|
| 18 |
# --with-deps тянет системные libnss, libatk и т. д.
|
| 19 |
+
subprocess.run(["playwright", "install", "chromium"], check=True)
|
| 20 |
_pw_flag.touch()
|
| 21 |
|
| 22 |
# -------- third-party --------
|