From 6743fe46396dc195c731f9317c1cbb76b5b4a9b6 Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Wed, 21 Jun 2023 09:08:44 +0300 Subject: [PATCH] disable broken support for file reference overlays --- src/blobs/overlays.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/blobs/overlays.ts b/src/blobs/overlays.ts index 21d7e3a..b208fb7 100644 --- a/src/blobs/overlays.ts +++ b/src/blobs/overlays.ts @@ -186,8 +186,7 @@ function parseRsrcLines(rsrc: string, targetPkg: string, targetName: string | nu let value: ResValue let rawValue = valueLine![2] if (rawValue.startsWith('(file) ')) { - // Return @[path] - value = `@${rawValue.split(' ')[1]}` + continue } else if (curType == 'dimen') { // Keep dimensions as strings to preserve unit value = rawValue