diff --git a/src/electron-main.ts b/src/electron-main.ts index b42f72a..b77cf62 100644 --- a/src/electron-main.ts +++ b/src/electron-main.ts @@ -780,7 +780,9 @@ ipcMain.on('seshat', async function(ev, payload) { }); app.commandLine.appendSwitch('--enable-usermedia-screen-capturing'); -app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer'); +if (!app.commandLine.hasSwitch('enable-features')) { + app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer'); +} const gotLock = app.requestSingleInstanceLock(); if (!gotLock) {