Screensharing rework

Split Linux screensharing audio tracks, Rework screensharing functionality and layout
This will need some refactoring soon
This commit is contained in:
2026-03-08 06:33:27 +01:00
parent d20509566d
commit 7a4c4ede8c
42 changed files with 4998 additions and 475 deletions

View File

@@ -1,4 +1,5 @@
import { app, BrowserWindow } from 'electron';
import { cleanupLinuxScreenShareAudioRouting } from '../audio/linux-screen-share-routing';
import {
initializeDatabase,
destroyDatabase,
@@ -38,6 +39,7 @@ export function registerAppLifecycle(): void {
app.on('before-quit', async (event) => {
if (getDataSource()?.isInitialized) {
event.preventDefault();
await cleanupLinuxScreenShareAudioRouting();
await destroyDatabase();
app.quit();
}