Package Exports
- @electron/fuses
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@electron/fuses) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@electron/fuses
Flip Electron Fuses and customize your packaged build of Electron
Usage
import { flipFuses, FuseVersion, FuseV1Options } from '@electron/fuses';
await flipFuses(
require('electron'), // Returns the path to the electron binary
{
version: FuseVersion.V1,
[FuseV1Options.RunAsNode]: false, // Disables ELECTRON_RUN_AS_NODE
[FuseV1Options.EnableCookieEncryption]: true, // Enables cookie encryption
},
);