1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-15 02:57:05 +02:00

fix puppeteer install using npx stalling waiting for y user confirmation

This commit is contained in:
Nick Sweeting
2024-10-11 01:03:34 -07:00
parent 146cdff7d9
commit bffa9ee78d

View File

@@ -66,7 +66,7 @@ class PuppeteerBinProvider(BaseBinProvider):
euid: Optional[int] = ARCHIVEBOX_USER
puppeteer_browsers_dir: Path = LIB_DIR_BROWSERS
puppeteer_install_args: List[str] = ["@puppeteer/browsers", "install", "--path", str(LIB_DIR_BROWSERS)]
puppeteer_install_args: List[str] = ['--yes', "@puppeteer/browsers", "install", "--path", str(LIB_DIR_BROWSERS)]
packages_handler: BinProviderOverrides = Field(default={
"chrome": lambda: