feat: implement whisper transcription engine with hardware detection and IPC bridge

This commit is contained in:
Ümit Tunç
2026-04-23 09:05:10 +03:00
parent 16ae1a8345
commit 4a7e23de79
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ const api = {
startTranscription: (filePath, options) => electron.ipcRenderer.invoke("start-transcription", { filePath, options }),
onTranscriptionProgress: (callback) => electron.ipcRenderer.on("transcription-progress", (_, progress) => callback(progress)),
onTranscriptionData: (callback) => electron.ipcRenderer.on("transcription-data", (_, data) => callback(data)),
detectHardware: () => electron.ipcRenderer.invoke("detect-hardware")
detectHardware: () => electron.ipcRenderer.invoke("detect-hardware"),
openExplorer: (path) => electron.ipcRenderer.send("open-explorer", path)
};
if (process.contextIsolated) {
try {