Skip to content

Commit 5746ec1

Browse files
authored
Merge pull request #513 from sid-srini/launch-on-win-arm64
Allow the extension NBLS to launch on Windows arm64 with x64 JDK
2 parents ab0bfa8 + ef1b63c commit 5746ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode/src/lsp/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const enableDisableModules = (
4444

4545
export const findNbcode = (extensionPath: string): string => {
4646
let nbcode = os.platform() === 'win32' ?
47-
os.arch() === 'x64' ? 'nbcode64.exe' : 'nbcode.exe'
47+
os.arch() === 'x64' || os.arch() === 'arm64' ? 'nbcode64.exe' : 'nbcode.exe'
4848
: 'nbcode.sh';
4949
let nbcodePath = path.join(extensionPath, "nbcode", "bin", nbcode);
5050

0 commit comments

Comments
 (0)