22 lines
586 B
Diff
22 lines
586 B
Diff
--- a/third_party/node/node.py
|
|
+++ b/third_party/node/node.py
|
|
@@ -11,17 +11,7 @@
|
|
|
|
|
|
def GetBinaryPath():
|
|
- if platform.machine() == 'arm64':
|
|
- darwin_path = 'mac_arm64'
|
|
- darwin_name = 'node-darwin-arm64'
|
|
- else:
|
|
- darwin_path = 'mac'
|
|
- darwin_name = 'node-darwin-x64'
|
|
- return os_path.join(os_path.dirname(__file__), *{
|
|
- 'Darwin': (darwin_path, darwin_name, 'bin', 'node'),
|
|
- 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
|
|
- 'Windows': ('win', 'node.exe'),
|
|
- }[platform.system()])
|
|
+ return "/usr/bin/node"
|
|
|
|
|
|
def RunNode(cmd_parts, stdout=None):
|