disable broken support for file reference overlays

This commit is contained in:
Dmitry Muhomor 2023-06-21 09:08:44 +03:00 committed by Daniel Micay
parent 27b41962f4
commit 6743fe4639

View file

@ -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