Skip to content

Commit a373cb7

Browse files
committed
don't touch bsc
#5394 (comment)
1 parent 31fc9af commit a373cb7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bsc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
"use strict";
33

44
var child_process = require("child_process");
5-
var exe = require("./scripts/bin_path").bsc_exe;
5+
var path = require("path");
6+
var exe = path.join(
7+
__dirname,
8+
process.platform === "darwin" && process.arch === "arm64"
9+
? process.platform + process.arch
10+
: process.platform,
11+
"bsc.exe"
12+
);
613
var delegate_args = process.argv.slice(2);
714

815
try {

0 commit comments

Comments
 (0)