21 lines
871 B
Diff
21 lines
871 B
Diff
--- third_party/node/node.py 2021-05-20 04:17:54.000000000 +0200
|
|
+++ - 2021-05-25 11:57:32.895222559 +0200
|
|
@@ -17,11 +17,12 @@
|
|
if platform.system() == 'Darwin' and platform.machine() == 'arm64':
|
|
return os.path.join(os_path.join(os_path.dirname(__file__), 'mac',
|
|
'node-darwin-arm64', 'bin', 'node'))
|
|
- return os_path.join(os_path.dirname(__file__), *{
|
|
- 'Darwin': ('mac', 'node-darwin-x64', 'bin', 'node'),
|
|
- 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
|
|
- 'Windows': ('win', 'node.exe'),
|
|
- }[platform.system()])
|
|
+ return "/usr/bin/node"
|
|
+ #return os_path.join(os_path.dirname(__file__), *{
|
|
+ # 'Darwin': ('mac', 'node-darwin-x64', 'bin', 'node'),
|
|
+ # 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
|
|
+ # 'Windows': ('win', 'node.exe'),
|
|
+ #}[platform.system()])
|
|
|
|
|
|
def RunNode(cmd_parts, stdout=None):
|