From ad3af87857d68ce13fc2400a4eb1efc8fbb25285 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Tue, 30 Dec 2025 15:12:37 +0100 Subject: [PATCH] Support `customParseLogic` in meta --- README.md | 1 + src/common.ts | 8 ++++++++ src/types.ts | 1 + 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index b587c0c..34eaf86 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ Any field not in this list will be ignored. Any field not matching the required - "maxFileVersion": number _(target only devices with this version or below)_ - "minFileVersion": number _(target only devices with this version or above)_ - "modelId": string _(target only devices with this model ID)_ +- "customParseLogic": string _(custom parsing logic used for this image)_ ###### For record purpose diff --git a/src/common.ts b/src/common.ts index 1f445a3..6ae5893 100644 --- a/src/common.ts +++ b/src/common.ts @@ -308,6 +308,14 @@ export function getValidMetas(metas: Partial