Skip to content

Commit 8fcd986

Browse files
committed
[test] release 0.3.14.post42
1 parent 422803b commit 8fcd986

4 files changed

Lines changed: 5 additions & 124 deletions

File tree

frontend/src/pytron.d.ts

Lines changed: 0 additions & 109 deletions
This file was deleted.

print_cov.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespaces = false
1313

1414
[project]
1515
name = "pytron-kit"
16-
version = "0.3.14.post41"
16+
version = "0.3.14.post42"
1717
description = "An Electron-like library for Python to build Cross Platform Apps"
1818
readme = "README.md"
1919
requires-python = ">=3.7"

pytron/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@
1717
os.environ["NO_AT_BRIDGE"] = "1"
1818
# PREVENT GIO from loading remote VFS modules
1919
os.environ["GIO_USE_VFS"] = "local"
20+
# Force GDK to skip OpenGL context creation to prevent EGL/DRI3/DRI2 crashes in VMs
21+
os.environ["GDK_DEBUG"] = "nogl"
22+
os.environ["GDK_GL"] = "software"
2023
# Essential for VMs (VMware/VirtualBox) to avoid black screens or WebKit crashes.
2124
os.environ["WEBKIT_DISABLE_COMPOSITING_MODE"] = "1"
25+
os.environ["WEBKIT_DISABLE_DMABUF_RENDERER"] = "1"
2226
# Ensure we use X11 backend for better stability in virtualized browsers.
2327
os.environ["WINIT_UNIX_BACKEND"] = "x11"
2428

0 commit comments

Comments
 (0)