Skip to content

Commit e2193e4

Browse files
committed
Look for the binary in server/__platform__/bin.exe and vendor darwin binary.
1 parent 450dc34 commit e2193e4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

server/darwin/bin.exe

15.5 MB
Binary file not shown.

server/src/dumpCommand.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ let findExecutable = (uri: string) => {
1212
if (projectRootPath == null) {
1313
return null;
1414
} else {
15-
// Currently assumes the dump command is "bin.exe" at the project root.
16-
let binaryPath = path.join(projectRootPath, "bin.exe");
15+
let binaryPath = path.join(
16+
path.dirname(__dirname),
17+
process.platform,
18+
"bin.exe"
19+
);
1720
if (fs.existsSync(binaryPath)) {
1821
return { binaryPath, filePath, cwd: projectRootPath };
1922
} else {

0 commit comments

Comments
 (0)