Skip to content

Instantly share code, notes, and snippets.

@matthew-mclaren
matthew-mclaren / electron_patcher.py
Last active February 12, 2025 17:02 — forked from khronokernel/electron_patcher.py
Electron and Chrome patcher to force OpenGL rendering
"""
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications
Version 1.0.1 (2025-02-12)
"""
import enum
import json
from pathlib import Path