Patch app-builder-lib to save win asar integrity
This commit is contained in:
parent
507a73ddcb
commit
2e98c0a866
4 changed files with 82 additions and 2 deletions
|
@ -43,9 +43,9 @@ export async function afterPack({
|
|||
[FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
|
||||
// Disables the --inspect and --inspect-brk family of CLI options
|
||||
[FuseV1Options.EnableNodeCliInspectArguments]: enableInspectArguments,
|
||||
// Enables validation of the app.asar archive on macOS
|
||||
// Enables validation of the app.asar archive on macOS/Windows
|
||||
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]:
|
||||
electronPlatformName === 'darwin',
|
||||
electronPlatformName === 'darwin' || electronPlatformName === 'win32',
|
||||
// Enforces that Electron will only load your app from "app.asar" instead of
|
||||
// its normal search paths
|
||||
[FuseV1Options.OnlyLoadAppFromAsar]: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue