From d040357ef489373e6fab99912b6f39bff254d1de Mon Sep 17 00:00:00 2001 From: Kevin Cui Date: Fri, 9 Jan 2026 10:31:14 +0800 Subject: [PATCH] fix(scripts): replace deprecated file.path with parentPath Node.js deprecated Dirent.path in favor of Dirent.parentPath. Update the download script to use the new property name. Signed-off-by: Kevin Cui --- scripts/download.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.mjs b/scripts/download.mjs index f969b0f..99d7cfd 100644 --- a/scripts/download.mjs +++ b/scripts/download.mjs @@ -53,7 +53,7 @@ for (const file of files) { continue; } if (["gvproxy", "krunkit", "ovm", "ovm.exe"].includes(file.name)) { - await fsP.chmod(join(file.path, file.name), 0o755); + await fsP.chmod(join(file.parentPath, file.name), 0o755); } }