Merge pull request #46 from LauZzL/fix/windows-close-button-not-work

fix(electron): remove platform check for hud overlay close event
This commit is contained in:
Sid
2025-12-07 10:31:44 -08:00
committed by GitHub
+1 -3
View File
@@ -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()