add electron fuses config for better security
This commit is contained in:
10
package.json
10
package.json
@@ -202,6 +202,16 @@
|
||||
"fpm": [
|
||||
"--rpm-rpmbuild-define=_build_id_links none"
|
||||
]
|
||||
},
|
||||
"electronFuses": {
|
||||
"runAsNode": false,
|
||||
"enableCookieEncryption": false,
|
||||
"enableNodeOptionsEnvironmentVariable": false,
|
||||
"enableNodeCliInspectArguments": false,
|
||||
"enableEmbeddedAsarIntegrityValidation": false,
|
||||
"onlyLoadAppFromAsar": true,
|
||||
"loadBrowserProcessSpecificV8Snapshot": false,
|
||||
"grantFileProtocolExtraPrivileges": false
|
||||
}
|
||||
},
|
||||
"pnpm": {
|
||||
|
||||
Reference in New Issue
Block a user