Multicolumn Bluesky client powered by Angular
1const { FusesPlugin } = require('@electron-forge/plugin-fuses');
2const { FuseV1Options, FuseVersion } = require('@electron/fuses');
3
4module.exports = {
5 packagerConfig: {
6 asar: true,
7 },
8 rebuildConfig: {},
9 makers: [
10 {
11 name: '@electron-forge/maker-squirrel',
12 config: {},
13 },
14 {
15 name: '@electron-forge/maker-zip',
16 platforms: ['darwin'],
17 },
18 // {
19 // name: '@electron-forge/maker-deb',
20 // config: {},
21 // },
22 // {
23 // name: '@electron-forge/maker-rpm',
24 // config: {},
25 // },
26 ],
27 hooks: {
28 postPackage: async (forgeConfig, options) => {
29 console.info('Packages built at:', options.outputPaths);
30 },
31 postMake: async (forgeConfig, options) => {
32 console.info('Packages built at:', options.outputPaths);
33 }
34 },
35 plugins: [
36 {
37 name: '@electron-forge/plugin-auto-unpack-natives',
38 config: {},
39 },
40 // Fuses are used to enable/disable various Electron functionality
41 // at package time, before code signing the application
42 new FusesPlugin({
43 version: FuseVersion.V1,
44 [FuseV1Options.RunAsNode]: false,
45 [FuseV1Options.EnableCookieEncryption]: true,
46 [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
47 [FuseV1Options.EnableNodeCliInspectArguments]: false,
48 [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
49 [FuseV1Options.OnlyLoadAppFromAsar]: true,
50 }),
51 ],
52};