fix(gui): re-enable hardware acceleration — remove blanket disableHardwareAcceleration()

This commit is contained in:
2026-08-17 23:02:49 +08:00
parent ca81048637
commit 98c08d51c4

View File

@ -649,12 +649,6 @@ ipcMain.handle("shell:openPath", (_, p) => {
// window control from renderer uses preload -> ipcMain above
// ---------- bootstrap ----------
// Defensive GPU handling: Electron's Chromium GPU process is a frequent
// source of hard crashes (SIGSEGV) on Linux, especially on hybrid-GPU and
// Wayland setups. The GUI host is an LLM management shell — a software
// renderer is perfectly fine. Must run before app.whenReady.
app.disableHardwareAcceleration();
const gotLock = app.requestSingleInstanceLock();
if (gotLock) {
app.on("second-instance", () => {