dont try to install brew casks on linux

This commit is contained in:
Nick Sweeting 2024-10-21 03:44:45 -07:00
parent cd3b937469
commit 1dff8bae40
No known key found for this signature in database
4 changed files with 4 additions and 5 deletions

View file

@ -16,7 +16,6 @@ from pydantic_pkgr import (
from abx.archivebox.base_binary import BaseBinary, env, apt, brew
# Depends on Other Plugins:
from archivebox.config import CONSTANTS
from archivebox.config.common import SHELL_CONFIG
from plugins_pkg.puppeteer.binproviders import PUPPETEER_BINPROVIDER
from plugins_pkg.playwright.binproviders import PLAYWRIGHT_BINPROVIDER
@ -99,7 +98,7 @@ class ChromeBinary(BaseBinary):
'packages': APT_DEPENDENCIES,
},
brew.name: {
'packages': ['--cask', 'chromium'],
'packages': ['--cask', 'chromium'] if platform.system().lower() == 'darwin' else [],
},
}

@ -1 +1 @@
Subproject commit 59ec81566120f8c0c86a6a35b4be91c25d43096d
Subproject commit a774f24644ee14f14fa2cc3d8e6e0a585ae00fdd