Electron Apps Causing System-Wide Lag on macOS (Tahoe) This gist provides a method to detect Electron apps on macOS that cause system-wide lag due to outdated Electron versions. This problem has been discussed and tracked in the Electron issue #48311 and covered in a blog post: mjtsai.com. Fixed Electron Versions The lag issue is fixed starting from the following Electron versions: 36.9.2 37.6.0 38.2.0 39.0.0 and all above 39 Apps using Electron versions below these may experience lag on macOS Tahoe. Purpose of the Script The included shell script scans all macOS apps on the system, finds those built with Electron, extracts their Electron version, and indicates if the version is vulnerable (outdated) or fixed. "✅" indicates the Electron version is fixed (updated). "❌" indicates the Electron version is outdated and may cause system-wide lag. Temporary Workaround To temporarily fix the lag, run this command on every system start: This sets the CHROME_HEADLESS environment variable which disables Electron app window shadows. The visual side effect is apps look less polished, but the lag issue stops. Example Output (as of October 1, 2025) Shell Script: detect-electron-apps-with-macos-lag.sh The script workflow: Finds all macOS apps using mdfind "kind:app". For each app, searches for files named "Electron Framework". Extracts Electron version by searching for strings containing Chrome/ and Electron inside the framework. Parses the version and compares it against fixed version thresholds. Prints either ✅ or ❌ with app name and Electron version. Script Snippet