Revert "Fix Chrome GL erros in ASUSTOR NAS"

This reverts commit 8316350b98dd4b581abf2328c8bf6edeeefbdb87.
This commit is contained in:
ilike2burnthing 2025-06-14 03:42:08 +01:00 committed by GitHub
parent 3e338fce2e
commit fe649255f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,11 +143,6 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
options.add_argument('--disable-software-rasterizer')
options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')
# fix GL errors in ASUSTOR NAS
# https://github.com/FlareSolverr/FlareSolverr/issues/782
# https://github.com/microsoft/vscode/issues/127800#issuecomment-873342069
# https://peter.sh/experiments/chromium-command-line-switches/#use-gl
options.add_argument('--use-gl=swiftshader')
language = os.environ.get('LANG', None)
if language is not None: