Skip to content

Commit

Permalink
Update src/tun2socks/build.action.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: J. Yi <[email protected]>
  • Loading branch information
daniellacosse and jyyi1 authored Dec 11, 2023
1 parent 1e3b016 commit c804b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tun2socks/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit c804b83

Please sign in to comment.