mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Enable asarIntegrity on Windows (#15215)
This commit is contained in:
@@ -172,10 +172,8 @@ async function addElectronFuses(context) {
|
|||||||
|
|
||||||
// Currently, asar integrity is only implemented for macOS and Windows
|
// Currently, asar integrity is only implemented for macOS and Windows
|
||||||
// https://www.electronjs.org/docs/latest/tutorial/asar-integrity
|
// https://www.electronjs.org/docs/latest/tutorial/asar-integrity
|
||||||
// On macOS, it works by default, but on Windows it requires the
|
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]:
|
||||||
// asarIntegrity feature of electron-builder v25, currently in alpha
|
platform == "darwin" || platform == "win32",
|
||||||
// https://github.com/electron-userland/electron-builder/releases/tag/v25.0.0-alpha.10
|
|
||||||
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: platform === "darwin",
|
|
||||||
|
|
||||||
[FuseV1Options.OnlyLoadAppFromAsar]: true,
|
[FuseV1Options.OnlyLoadAppFromAsar]: true,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user