@electron-forge/plugin-fuses
v7.5.0
Published
A plugin for flipping Electron Fuses in Electron Forge
Downloads
342,141
Keywords
Readme
@electron-forge/plugin-fuses
This plugin allows flipping Electron Fuses when packaging your app with Electron Forge.
Usage
Install @electron-forge/plugin-fuses
and @electron/fuses
as dev dependencies and add this plugin to the plugins
array in your Forge configuration:
# Yarn
yarn add --dev @electron-forge/plugin-fuses @electron/fuses
# npm
npm i -D @electron-forge/plugin-fuses @electron/fuses
// forge.config.js
const { FusesPlugin } = require('@electron-forge/plugin-fuses');
const { FuseV1Options, FuseVersion } = require('@electron/fuses');
const forgeConfig = {
plugins: [
new FusesPlugin({
version: FuseVersion.V1,
[FuseV1Options.RunAsNode]: false
// ...any other options supported by @electron/fuses
})
]
};
module.exports = forgeConfig;