Skip to content

Commit 95f67e7

Browse files
committed
Add conpty dlls and node headers
1 parent f2be1af commit 95f67e7

File tree

2,372 files changed

+1001873
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,372 files changed

+1001873
-2
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.test.js
22
*.test.ts
3+
third_party/

src/win/conpty.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define _WIN32_WINNT 0x600
1212

1313
#define NODE_ADDON_API_DISABLE_DEPRECATED
14-
#include <napi.h>
14+
#include <node_api.h>
1515
#include <assert.h>
1616
#include <Shlwapi.h> // PathCombine, PathIsRelative
1717
#include <sstream>
@@ -178,7 +178,7 @@ HANDLE LoadConptyDll(const Napi::CallbackInfo& info,
178178
std::wstring currentDirStr(currentDir);
179179

180180
// TODO: Support arm64
181-
std::wstring conptyDllPath = currentDirStr + L"\\vendor\\conpty.dll";
181+
std::wstring conptyDllPath = currentDirStr + L"\\third_party\\conpty\\1.19.240130002\\win10-x64\\conpty.dll";
182182
if (!path_util::file_exists(conptyDllPath)) {
183183
throw errorWithCode(info, "Cannot find conpty.dll");
184184
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)