mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 16:52:05 -08:00
Hotfix #51 0.3.2
Fixes missing VirtualDisplay import on non-Linux systems.
This commit is contained in:
parent
75ea7b0880
commit
732d7bac8d
2 changed files with 2 additions and 4 deletions
|
|
@ -30,12 +30,10 @@ from .fingerprints import from_browserforge, generate_fingerprint
|
||||||
from .ip import Proxy, public_ip, valid_ipv4, valid_ipv6
|
from .ip import Proxy, public_ip, valid_ipv4, valid_ipv6
|
||||||
from .locale import geoip_allowed, get_geolocation, handle_locales
|
from .locale import geoip_allowed, get_geolocation, handle_locales
|
||||||
from .pkgman import OS_NAME, get_path, installed_verstr
|
from .pkgman import OS_NAME, get_path, installed_verstr
|
||||||
|
from .virtdisplay import VirtualDisplay
|
||||||
from .warnings import LeakWarning
|
from .warnings import LeakWarning
|
||||||
from .xpi_dl import add_default_addons
|
from .xpi_dl import add_default_addons
|
||||||
|
|
||||||
if OS_NAME == 'lin':
|
|
||||||
from .virtdisplay import VirtualDisplay
|
|
||||||
|
|
||||||
LAUNCH_FILE = {
|
LAUNCH_FILE = {
|
||||||
'win': 'camoufox.exe',
|
'win': 'camoufox.exe',
|
||||||
'lin': 'camoufox-bin',
|
'lin': 'camoufox-bin',
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "camoufox"
|
name = "camoufox"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
description = "Wrapper around Playwright to help launch Camoufox"
|
description = "Wrapper around Playwright to help launch Camoufox"
|
||||||
authors = ["daijro <daijro.dev@gmail.com>"]
|
authors = ["daijro <daijro.dev@gmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue