Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > 9a0c97e157628032f0afa0960d1f3cb2 > files > 41

chromium-browser-stable-106.0.5249.119-1.mga8.src.rpm

--- patch98/third_party/node/node.py	2022-01-21 02:05:34.000000000 +0100
+++ patch98/third_party/node/node.py.system	2022-01-28 16:08:28.878916957 +0100
@@ -11,13 +11,7 @@ import os
 
 
 def GetBinaryPath():
-  darwin_name = ('node-darwin-arm64' if platform.machine() == 'arm64' else
-                 'node-darwin-x64')
-  return os_path.join(os_path.dirname(__file__), *{
-    'Darwin': ('mac', 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):