projects/aports·blob master · refs

15 lines · 594 B

1--- a/scripts/hak/hakEnv.ts
2+++ b/scripts/hak/hakEnv.ts
3@@ -101,11 +101,10 @@
4 ...process.env,
5 npm_config_arch: this.target.arch,
6 npm_config_target_arch: this.target.arch,
7- npm_config_disturl: "https://electronjs.org/headers",
8+ npm_config_nodedir: "/usr/include/electron/node_headers",
9 npm_config_runtime: this.runtime,
10 npm_config_target: this.runtimeVersion,
11 npm_config_build_from_source: "true",
12- npm_config_devdir: path.join(os.homedir(), ".electron-gyp"),
13 };
14 }
15