From ffc262369da8c99d1386a7f1f53d3cadccadc3a7 Mon Sep 17 00:00:00 2001 From: Mohamed Mohamedin Date: Wed, 17 Jan 2024 15:06:29 -0500 Subject: [PATCH] Fixed fuses issues --- build/fuses.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/fuses.js b/build/fuses.js index 131363f10..10c06673c 100644 --- a/build/fuses.js +++ b/build/fuses.js @@ -33,10 +33,8 @@ async function addElectronFuses(context) [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: false, // TODO Enables validation of the app.asar archive on macOS // Some reports it crashes when enabled on arm64 [FuseV1Options.LoadBrowserProcessSpecificV8Snapshot]: false, // TODO Loads V8 Snapshot from `browser_v8_context_snapshot.bin` for the browser process - // TODO Disables when moving to a custom protocol - [FuseV1Options.GrantFileProtocolExtraPrivileges]: true, // Grants the file protocol extra privileges // Based on docs, this should be enabled for macOS on arm64 - resetAdHocDarwinSignature: electronPlatformName === 'darwin' && (targetArch === builder.Arch.arm64 || arch === builder.Arch.universal), + resetAdHocDarwinSignature: electronPlatformName === 'darwin' && (arch === builder.Arch.arm64 || arch === builder.Arch.universal), }); }