From c804b8342aee7eebe9b1211e211eaa3d87d9aaa4 Mon Sep 17 00:00:00 2001 From: Daniel LaCosse <3759828+daniellacosse@users.noreply.github.com> Date: Mon, 11 Dec 2023 10:41:03 -0500 Subject: [PATCH] Update src/tun2socks/build.action.mjs Co-authored-by: J. Yi <93548144+jyyi1@users.noreply.github.com> --- src/tun2socks/build.action.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tun2socks/build.action.mjs b/src/tun2socks/build.action.mjs index d6d53e6b54..6120591fec 100644 --- a/src/tun2socks/build.action.mjs +++ b/src/tun2socks/build.action.mjs @@ -50,7 +50,7 @@ export async function main(...parameters) { const hostPlatform = os.platform(); - process.env.PATH = hostPlatform === 'win32' ? `${binDir};${process.env.PATH}` : `${binDir}:${process.env.PATH}`; + process.env.PATH = `${binDir}${path.delimiter}${process.env.PATH}`; switch (targetPlatform + hostPlatform) { case 'android' + 'darwin':