Combined Frontend with backend, and implemented the extractor function into the module structure

This commit is contained in:
2025-11-10 16:18:57 +01:00
parent bd8ed1bf81
commit 92043440fe
6 changed files with 1483 additions and 11 deletions
+19 -1
View File
@@ -55,4 +55,22 @@ rl.on("line", data =>{
// ----------------------------------------------------------- ELECTRON ----------------------------------------------------------- //
// TODO - Add Electron support to the project
let mainWindow;
function createWindow() {
mainWindow = new electron.BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
preload: `${mainDir}/electron/main/preload.js`
}
});
mainWindow.loadFile('./electron/main/index.html');
}
electron.app.whenReady().then(createWindow);