UNPKG

openmate

Version:

OpenMate: A fast CLI tool to open local repos or entire collections in VS Code, Windsurf, or Cursor using simple shortcuts for an efficient developer workflow.

68 lines (67 loc) 1.78 kB
const { FusesPlugin } = require("@electron-forge/plugin-fuses"); const { FuseV1Options, FuseVersion } = require("@electron/fuses"); const path = require("path"); module.exports = { packagerConfig: { asar: true, icon: "assets/logo", }, rebuildConfig: {}, makers: [ { name: "@electron-forge/maker-squirrel", config: { name: "openmate_ui", setupIcon: "assets/logo.ico", }, }, { name: "@electron-forge/maker-zip", platforms: ["darwin"], }, { name: "@electron-forge/maker-deb", config: {}, }, { name: "@electron-forge/maker-rpm", config: {}, }, ], plugins: [ { name: "@electron-forge/plugin-auto-unpack-natives", config: {}, }, { name: "@electron-forge/plugin-webpack", config: { mainConfig: "./webpack.main.config.js", renderer: { config: "./webpack.renderer.config.js", entryPoints: [ { html: "./src/index.html", js: "./src/renderer.js", name: "main_window", preload: { js: "./src/preload.js", }, }, ], }, }, }, // Fuses are used to enable/disable various Electron functionality // at package time, before code signing the application new FusesPlugin({ version: FuseVersion.V1, [FuseV1Options.RunAsNode]: false, [FuseV1Options.EnableCookieEncryption]: true, [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false, [FuseV1Options.EnableNodeCliInspectArguments]: false, [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true, [FuseV1Options.OnlyLoadAppFromAsar]: true, }), ], };