Implemented the function for the download button.

This commit is contained in:
2025-12-15 17:21:02 +01:00
parent aee1428cb6
commit bac6e2b7f0
3 changed files with 13 additions and 7 deletions
+5
View File
@@ -25,6 +25,11 @@ try {
contextBridge.exposeInMainWorld("submitSpeaker", {
submitSpeaker: (speaker_names) => {ipcRenderer.send("speaker_submit", speaker_names)}
})
contextBridge.exposeInMainWorld("download", {
file_download: () => {ipcRenderer.send("file_download")}
})
ipcRenderer.on("error", (event, err) => {alert(err)})
} catch (error) {