From ea0b899ea62594ba9073bc84bff1f1df3fb565d1 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 25 Apr 2025 09:20:19 -0700 Subject: [PATCH] Resolve VEH memo, app id and set version. --- package.json | 2 +- src/main/decoder/decode-veh.ts | 2 +- src/main/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cc1ef0a..f751d16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bodyshop-desktop", - "version": "0.0.1-alpha.6", + "version": "0.0.1-alpha.7", "description": "Shop Management System Partner", "main": "./out/main/index.js", "author": "Convenient Brands, LLC", diff --git a/src/main/decoder/decode-veh.ts b/src/main/decoder/decode-veh.ts index 467207d..bdba630 100644 --- a/src/main/decoder/decode-veh.ts +++ b/src/main/decoder/decode-veh.ts @@ -41,7 +41,7 @@ const DecodeVeh = async ( `Could not find any VEH files at ${extensionlessFilePath}`, ); } - dbf = await DBFFile.open(filePath); + dbf = await DBFFile.open(filePath, { readMode: "loose" }); } catch (error) { log.error("Error opening VEH File.", errorTypeCheck(error)); throw error; diff --git a/src/main/index.ts b/src/main/index.ts index c571d0c..100fb5d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -334,7 +334,7 @@ app.whenReady().then(async () => { // and ignore CommandOrControl + R in production. // see https://github.com/alex8088/electron-toolkit/tree/master/packages/utils if (platform.isWindows) { - app.setAppUserModelId(app.name); + app.setAppUserModelId("Shop Partner"); } app.on("browser-window-created", (_, window) => {