From 23d418c7bb5935489289e7ef47df72bff965a9b0 Mon Sep 17 00:00:00 2001 From: katamaz Date: Thu, 28 May 2026 15:20:24 +0300 Subject: [PATCH] add linux path support --- builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.js b/builder.js index 3c6ddb1..0f5dca7 100644 --- a/builder.js +++ b/builder.js @@ -14,7 +14,7 @@ function build() { const mountedFiles = new Set(); const result = data.replace(mountRegex, (_match, file) => { - let fileContent = fs.readFileSync(path.normalize(file), "utf8"); + let fileContent = fs.readFileSync(file.replace(/\\/g, "/"), "utf8"); mountedFiles.add(path.resolve(file)); const inlinePhpVarRegex = /"<.*?)\)>>"/g;