Added preloader, initial estimate decoder.

This commit is contained in:
Patrick Fic
2020-10-14 10:17:33 -07:00
parent c6f424cf5f
commit 953ea832e2
12 changed files with 306 additions and 23 deletions

View File

@@ -8,8 +8,10 @@ require("./file-watcher/file-watcher-ipc");
console.log("*** Added IPC Handlers ***");
ipcMain.on("test", async (event, object) => {
DecodeEstimate();
event.sender.send("test-success", { success: true });
console.log("Received test IPC Command");
const job = await DecodeEstimate("C:\\VPS\\EMS\\687_3_A.AD1");
event.reply("test-success", { status: 0, message: null, data: job });
});
// ipcMain.on("test-start", async (event, arg) => {