prettier update borked lint somehow woah
This commit is contained in:
parent
3ac0ed3d78
commit
2aa0b0fa20
1 changed files with 9 additions and 13 deletions
|
@ -51,21 +51,17 @@ ipcMain.handle(IpcEvents.VIRT_MIC_LIST, () => {
|
||||||
: { ok: false, isGlibcxxToOld };
|
: { ok: false, isGlibcxxToOld };
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle(
|
ipcMain.handle(IpcEvents.VIRT_MIC_START, (_, targets: string[]) =>
|
||||||
IpcEvents.VIRT_MIC_START,
|
obtainVenmic()?.link({
|
||||||
(_, targets: string[]) =>
|
include: targets.map(target => ({ key: "application.name", value: target })),
|
||||||
obtainVenmic()?.link({
|
exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
|
||||||
include: targets.map(target => ({ key: "application.name", value: target })),
|
})
|
||||||
exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ipcMain.handle(
|
ipcMain.handle(IpcEvents.VIRT_MIC_START_SYSTEM, () =>
|
||||||
IpcEvents.VIRT_MIC_START_SYSTEM,
|
obtainVenmic()?.link({
|
||||||
() =>
|
exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
|
||||||
obtainVenmic()?.link({
|
})
|
||||||
exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ipcMain.handle(IpcEvents.VIRT_MIC_STOP, () => obtainVenmic()?.unlink());
|
ipcMain.handle(IpcEvents.VIRT_MIC_STOP, () => obtainVenmic()?.unlink());
|
||||||
|
|
Loading…
Reference in a new issue