Merge branch 'main' into update_docs

This commit is contained in:
Wendong-Fan 2026-02-27 08:40:26 +00:00 committed by GitHub
commit 9858a6743c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,6 +352,9 @@ app.commandLine.appendSwitch('max_old_space_size', '4096');
app.commandLine.appendSwitch('enable-features', 'MemoryPressureReduction');
app.commandLine.appendSwitch('renderer-process-limit', '8');
// Disable Fontations (Rust-based font engine) to prevent crashes on macOS
app.commandLine.appendSwitch('disable-features', 'Fontations');
// ==================== Proxy configuration ====================
// Read proxy from global .env file on startup
proxyUrl = readGlobalEnvKey('HTTP_PROXY');