void-packages/srcpkgs/electron19/files/patches/electron-Build-fixes.patch.patch
John 21cf64ec33 electron19: make sure to build as "official_build"
Otherwise a bunch of optimization isn't enabled and a few
debug things are enabled, which result in an overall more
(or in this case extremely) unstable electron

Thx to @q66 who pointed out that dchecks are enabled

closes #38005
2022-07-13 00:09:23 +02:00

12 lines
321 B
Diff

diff --git a/build/npm.gni b/build/npm.gni
index a1987d095..fb33a14c3 100644
--- a/build/npm.gni
+++ b/build/npm.gni
@@ -35,7 +35,6 @@ template("npm_action") {
if (!defined(deps)) {
deps = []
}
- deps += [ ":npm_pre_flight_" + target_name ]
script = "//electron/build/npm-run.py"
args = [