mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
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 -->
This commit is contained in:
@@ -209,6 +209,12 @@ export default {
|
|||||||
new FusesPlugin({
|
new FusesPlugin({
|
||||||
version: FuseVersion.V1,
|
version: FuseVersion.V1,
|
||||||
[FuseV1Options.RunAsNode]: false,
|
[FuseV1Options.RunAsNode]: false,
|
||||||
|
[FuseV1Options.EnableCookieEncryption]: true,
|
||||||
|
[FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
|
||||||
|
[FuseV1Options.EnableNodeCliInspectArguments]: false,
|
||||||
|
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
|
||||||
|
[FuseV1Options.OnlyLoadAppFromAsar]: true,
|
||||||
|
[FuseV1Options.LoadBrowserProcessSpecificV8Snapshot]: true,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
hooks: {
|
hooks: {
|
||||||
|
|||||||
Reference in New Issue
Block a user