mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Implemented a dropdown field for the languages as well as functions and a file to easily implement other languages.
This commit is contained in:
@@ -7,6 +7,10 @@ try {
|
||||
contextBridge.exposeInMainWorld("extractor", {
|
||||
extract: (file) => ipcRenderer.send("extract", file)
|
||||
})
|
||||
contextBridge.exposeInMainWorld("electronAPI", {
|
||||
getFilePath: (file) => {return webUtils.getPathForFile(file)}
|
||||
})
|
||||
|
||||
} catch (error) {
|
||||
console.log("Error in preload.js");
|
||||
}
|
||||
Reference in New Issue
Block a user