Skip to content

Commit

Permalink
Fixed fuses issues
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohamedin committed Jan 17, 2024
1 parent 97ae635 commit ffc2623
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/fuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});
}

Expand Down

1 comment on commit ffc2623

@davidjgraph
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.