mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-13 10:04:31 +02:00
merge dev
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user