Initial commit

This commit is contained in:
2025-12-12 14:05:16 +01:00
commit 87e5f5a72c
10 changed files with 1504 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('electronAPI', {
openFileDialog: () => ipcRenderer.invoke('open-file-dialog'),
readFile: (filePath) => ipcRenderer.invoke('read-file', filePath)
});