mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Created a preload.js, small changes in the package.json, main.js, index.html and script.js like removing whitespace
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
const { contextBridge, ipcRenderer } = require('electron');
|
||||
contextBridge.exposeInMainWorld('electronAPI', {
|
||||
sendDropPath: (path) => ipcRenderer.send('file-dropped', path)
|
||||
});
|
||||
Reference in New Issue
Block a user