Add parsing of AD1 files. Memorize window size and location.

This commit is contained in:
Patrick Fic
2025-03-17 14:27:33 -07:00
parent 10368f8f9e
commit c1949eb5f9
33 changed files with 524 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
import log from "electron-log/main";
import path from "path";
import DecodeAD1 from "./decode-ad1";
async function ImportJob(filepath: string): Promise<void> {
const parsedFilePath = path.parse(filepath);
const extensionlessFilePath = path.join(
parsedFilePath.dir,
parsedFilePath.name
);
log.debug("Importing Job", extensionlessFilePath);
const decodedJob = {};
const ad1: ParsedAD1 = await DecodeAD1(extensionlessFilePath);
log.debug("AD1", ad1);
}
export default ImportJob;