Update electron to 30.0.0

This commit is contained in:
Fedor Indutny 2024-04-17 02:03:06 +02:00 committed by GitHub
parent bebdf818c3
commit cba88e6e45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 23 additions and 16 deletions

View file

@ -44,7 +44,8 @@ export async function afterPack({
// Disables the --inspect and --inspect-brk family of CLI options
[FuseV1Options.EnableNodeCliInspectArguments]: enableInspectArguments,
// Enables validation of the app.asar archive on macOS
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]:
electronPlatformName === 'darwin',
// Enforces that Electron will only load your app from "app.asar" instead of
// its normal search paths
[FuseV1Options.OnlyLoadAppFromAsar]: true,