From bb7b273968a466fcd55ef16630aa156a937e991d Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sat, 26 Oct 2024 02:04:15 -0400 Subject: [PATCH] electron-builder: Restore "warningsAsErrors: false" to the new electron-builder config file We get the following, otherwise, it would seem: warning 6010: install function "EnvVarUpdate" not referenced - zeroing code (179-395) out followed by: Error: warning treated as error And then electron-builder exits with that as the error status. So, I suppose we want to avoid that. --- script/electron-builder.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/electron-builder.config.js b/script/electron-builder.config.js index 3a0874d65c..4fc4691f4f 100644 --- a/script/electron-builder.config.js +++ b/script/electron-builder.config.js @@ -273,7 +273,8 @@ let options = { // Hardcoding it here means it will always be used as generated from // the AppID 'dev.pulsar-edit.pulsar'. If this value ever changes, // A PR to GitHub Desktop must be made with the updated value. - include: "resources/win/installer.nsh" + include: "resources/win/installer.nsh", + warningsAsErrors: false }, extraMetadata: {},