Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

fix(electron): remove platform check for hud overlay close event

LauZzL7ee28f1403ef
diff --git a/electron/main.ts b/electron/main.ts
index 0cd4cbd6..f68e5d51 100644
--- a/electron/main.ts
+++ b/electron/main.ts
@@ -111,9 +111,7 @@ app.whenReady().then(async () => {
// Listen for HUD overlay quit event (macOS only)
const { ipcMain } = await import('electron');
ipcMain.on('hud-overlay-close', () => {
- if (process.platform === 'darwin') {
- app.quit();
- }
+ app.quit();
});
// Ensure recordings directory exists
await ensureRecordingsDir()