feat: initialize Electron project with transcription engine integration and UI shell

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