1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/node/node.py.orig 2024-08-14 20:55:59 UTC
+++ third_party/node/node.py
@@ -20,6 +20,8 @@ def GetBinaryPath():
return os_path.join(os_path.dirname(__file__), *{
'Darwin': (darwin_path, darwin_name, 'bin', 'node'),
'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
+ 'OpenBSD': ('openbsd', 'node-openbsd', 'bin', 'node'),
+ 'FreeBSD': ('freebsd', 'node-freebsd', 'bin', 'node'),
'Windows': ('win', 'node.exe'),
}[platform.system()])
|