Almost matching export.
This commit is contained in:
@@ -49,13 +49,20 @@ if (import.meta.env.DEV) {
|
||||
log.debug("[IPC Debug Functions] Adding Debug Handlers");
|
||||
|
||||
ipcMain.on(ipcTypes.toMain.debug.decodeEstimate, async (): Promise<void> => {
|
||||
const relativeEmsFilepath = `_reference/ems/MPI_1/3698420.ENV`;
|
||||
// Get the app's root directory and create an absolute path
|
||||
const rootDir = app.getAppPath();
|
||||
const absoluteFilepath = path.join(rootDir, relativeEmsFilepath);
|
||||
// const relativeEmsFilepath = `_reference/ems/MPI_1/3698420.ENV`;
|
||||
// // Get the app's root directory and create an absolute path
|
||||
// const rootDir = app.getAppPath();
|
||||
// const absoluteFilepath = path.join(rootDir, relativeEmsFilepath);
|
||||
// console.log("*** ~ ipcMain.on ~ absoluteFilepath:", absoluteFilepath);
|
||||
|
||||
log.debug("[IPC Debug Function] Decode test Estimate", absoluteFilepath);
|
||||
await ImportJob(absoluteFilepath);
|
||||
// log.debug("[IPC Debug Function] Decode test Estimate", absoluteFilepath);
|
||||
// await ImportJob(absoluteFilepath);
|
||||
|
||||
const job2 = `/Users/pfic/Downloads/12285264/2285264.ENV`;
|
||||
|
||||
const job3 = `/Users/pfic/Downloads/14033376/4033376.ENV`;
|
||||
await ImportJob(job2);
|
||||
await ImportJob(job3);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user