diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-01-02 22:22:31 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-01-02 22:22:31 +0530 |
commit | 04ac9c47ca9578d15cbd5f78f54a62d7bd520dbb (patch) | |
tree | 74598f0292dcd312518de5008eaf3b713e659b68 /.electron-builder.config.cjs | |
parent | Merge branch 'gitignore' into 'main' (diff) | |
download | sophie-04ac9c47ca9578d15cbd5f78f54a62d7bd520dbb.tar.gz sophie-04ac9c47ca9578d15cbd5f78f54a62d7bd520dbb.tar.zst sophie-04ac9c47ca9578d15cbd5f78f54a62d7bd520dbb.zip |
Turn off 'FuseV1Options.EnableEmbeddedAsarIntegrityValidation' since the packaged app doesn't start up on macos
Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to '.electron-builder.config.cjs')
-rw-r--r-- | .electron-builder.config.cjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.electron-builder.config.cjs b/.electron-builder.config.cjs index 5238c69..9e2d11f 100644 --- a/.electron-builder.config.cjs +++ b/.electron-builder.config.cjs | |||
@@ -35,7 +35,6 @@ const config = { | |||
35 | * - Running the application as a plain node process is disabled. | 35 | * - Running the application as a plain node process is disabled. |
36 | * - Setting options through the `NODE_OPTIONS` environment variable is disabled. | 36 | * - Setting options through the `NODE_OPTIONS` environment variable is disabled. |
37 | * - Attaching a debugger through the `--inspect` family of options is disabled. | 37 | * - Attaching a debugger through the `--inspect` family of options is disabled. |
38 | * - Embedded ASAR integrity validation is enabled. | ||
39 | * - Will onload load the application from the ASAR archive. | 38 | * - Will onload load the application from the ASAR archive. |
40 | * | 39 | * |
41 | * @param {import('electron-builder').AfterPackContext} context The `electron-builder` context. | 40 | * @param {import('electron-builder').AfterPackContext} context The `electron-builder` context. |
@@ -60,7 +59,8 @@ async function burnFuses(context) { | |||
60 | [FuseV1Options.EnableCookieEncryption]: true, | 59 | [FuseV1Options.EnableCookieEncryption]: true, |
61 | [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false, | 60 | [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false, |
62 | [FuseV1Options.EnableNodeCliInspectArguments]: false, | 61 | [FuseV1Options.EnableNodeCliInspectArguments]: false, |
63 | [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true, | 62 | // TODO: Revisit this: IF set to 'true' the packaged app doesn't start up on macos (x86) |
63 | [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: false, | ||
64 | [FuseV1Options.OnlyLoadAppFromAsar]: true, | 64 | [FuseV1Options.OnlyLoadAppFromAsar]: true, |
65 | }; | 65 | }; |
66 | return flipFuses(electronBinaryPath, fuseConfig); | 66 | return flipFuses(electronBinaryPath, fuseConfig); |