mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-28 23:20:22 +00:00
merge dev
This commit is contained in:
commit
b6ab4e298e
1 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,7 @@ import platform
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List, Optional, Dict, ClassVar
|
from typing import List, Optional, Dict, ClassVar
|
||||||
|
|
||||||
from pydantic import computed_field, Field
|
from pydantic import Field
|
||||||
from pydantic_pkgr import (
|
from pydantic_pkgr import (
|
||||||
BinName,
|
BinName,
|
||||||
BinProvider,
|
BinProvider,
|
||||||
|
@ -22,6 +22,8 @@ from pydantic_pkgr import (
|
||||||
|
|
||||||
import abx
|
import abx
|
||||||
|
|
||||||
|
from abx_plugin_default_binproviders import env
|
||||||
|
|
||||||
|
|
||||||
from .binaries import PLAYWRIGHT_BINARY
|
from .binaries import PLAYWRIGHT_BINARY
|
||||||
|
|
||||||
|
@ -55,7 +57,7 @@ class PlaywrightBinProvider(BinProvider):
|
||||||
def INSTALLER_BIN_ABSPATH(self) -> HostBinPath | None:
|
def INSTALLER_BIN_ABSPATH(self) -> HostBinPath | None:
|
||||||
try:
|
try:
|
||||||
return PLAYWRIGHT_BINARY.load().abspath
|
return PLAYWRIGHT_BINARY.load().abspath
|
||||||
except Exception as e:
|
except Exception:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def setup(self) -> None:
|
def setup(self) -> None:
|
||||||
|
|
Loading…
Reference in a new issue