How to use the electron-builder-squirrel-windows.default function in electron-builder-squirrel-windows

To help you get started, we’ve selected a few electron-builder-squirrel-windows examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github electron-userland / electron-builder / test / src / helpers / CheckingPackager.ts View on Github external
async pack(outDir: string, arch: Arch, targets: Array, taskManager: AsyncTaskManager): Promise {
    // skip pack
    const helperClass: typeof SquirrelWindowsTarget = require("electron-builder-squirrel-windows").default
    this.effectiveDistOptions = await (new helperClass(this, outDir).computeEffectiveDistOptions())

    await this.sign(this.computeAppOutDir(outDir, arch))
  }

electron-builder-squirrel-windows

Plugin for [electron-builder](https://github.com/electron-userland/electron-builder) to build Squirrel.Windows installer.

MIT
Latest version published 2 months ago

Package Health Score

89 / 100
Full package analysis