mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
11 lines
454 B
Python
11 lines
454 B
Python
--- build/gn_run_binary.py.orig 2019-03-15 06:36:56 UTC
|
|
+++ build/gn_run_binary.py
|
|
@@ -19,7 +19,7 @@ path = './' + sys.argv[1]
|
|
# The rest of the arguments are passed directly to the executable.
|
|
args = [path] + sys.argv[2:]
|
|
|
|
-ret = subprocess.call(args)
|
|
+ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"})
|
|
if ret != 0:
|
|
if ret <= -100:
|
|
# Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to
|