Skip to content

Commit af7fefd

Browse files
authored
feat(electron): enhance fuses (#13437)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated Electron app configuration to enhance security and integrity with additional runtime protection options. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 94cf32e commit af7fefd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/frontend/apps/electron/forge.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ export default {
209209
new FusesPlugin({
210210
version: FuseVersion.V1,
211211
[FuseV1Options.RunAsNode]: false,
212+
[FuseV1Options.EnableCookieEncryption]: true,
213+
[FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
214+
[FuseV1Options.EnableNodeCliInspectArguments]: false,
215+
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
216+
[FuseV1Options.OnlyLoadAppFromAsar]: true,
217+
[FuseV1Options.LoadBrowserProcessSpecificV8Snapshot]: true,
212218
}),
213219
],
214220
hooks: {

0 commit comments

Comments
 (0)