diff --git a/src/patches/node-rc.ts b/src/patches/node-rc.ts index ab89221..4f709d8 100644 --- a/src/patches/node-rc.ts +++ b/src/patches/node-rc.ts @@ -13,7 +13,7 @@ export default async function nodeRc(compiler: NexeCompiler, next: () => Promise const isVar = /^[A-Z_]+$/.test(value) value = isVar ? value : `"${value}"` file.contents = file.contents.replace( - new RegExp(`VALUE "${key}",*`), + new RegExp(`VALUE "${key}",.*`), `VALUE "${key}", ${value}` ) })