From 04ac9c47ca9578d15cbd5f78f54a62d7bd520dbb Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 2 Jan 2022 22:22:31 +0530 Subject: Turn off 'FuseV1Options.EnableEmbeddedAsarIntegrityValidation' since the packaged app doesn't start up on macos Signed-off-by: Vijay A --- .electron-builder.config.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.electron-builder.config.cjs b/.electron-builder.config.cjs index 5238c69..9e2d11f 100644 --- a/.electron-builder.config.cjs +++ b/.electron-builder.config.cjs @@ -35,7 +35,6 @@ const config = { * - Running the application as a plain node process is disabled. * - Setting options through the `NODE_OPTIONS` environment variable is disabled. * - Attaching a debugger through the `--inspect` family of options is disabled. - * - Embedded ASAR integrity validation is enabled. * - Will onload load the application from the ASAR archive. * * @param {import('electron-builder').AfterPackContext} context The `electron-builder` context. @@ -60,7 +59,8 @@ async function burnFuses(context) { [FuseV1Options.EnableCookieEncryption]: true, [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false, [FuseV1Options.EnableNodeCliInspectArguments]: false, - [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true, + // TODO: Revisit this: IF set to 'true' the packaged app doesn't start up on macos (x86) + [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: false, [FuseV1Options.OnlyLoadAppFromAsar]: true, }; return flipFuses(electronBinaryPath, fuseConfig); -- cgit v1.2.3-54-g00ecf