Muqriz 48f16bfc3e initail first | 4 ay önce | |
---|---|---|
.. | ||
dist | 4 ay önce | |
src | 4 ay önce | |
LICENSE | 4 ay önce | |
README.md | 4 ay önce | |
package.json | 4 ay önce |
This plugin allows flipping Electron Fuses when packaging your app with Electron Forge.
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;