Skip to content

Commit

Permalink
fix: enable cookie encryption
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Oct 28, 2024
1 parent 95d17fd commit 399a4f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
const path = require('node:path')
const fs = require('node:fs')
const semver = require('semver')
const { FusesPlugin } = require('@electron-forge/plugin-fuses')
const { FuseVersion, FuseV1Options } = require('@electron/fuses')
const { MIN_REQUIRED_BUILT_IN_TALK_VERSION } = require('./src/constants.js')

require('dotenv').config()
Expand Down Expand Up @@ -133,5 +135,10 @@ module.exports = {
},
},
},

new FusesPlugin({
version: FuseVersion.V1,
[FuseV1Options.EnableCookieEncryption]: true,
}),
],
}

0 comments on commit 399a4f7

Please sign in to comment.