How to use the electron-installer-debian.transformVersion function in electron-installer-debian

To help you get started, we’ve selected a few electron-installer-debian 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-forge / test / fast / makers / deb_spec.js View on Github external
it('should return the proper pre-release version in the outPath', async () => {
      eidStub.transformVersion = require('electron-installer-debian').transformVersion;

      packageJSON.version = '1.2.3-beta.4';
      const outPath = await debMaker({ dir, appName, targetArch, forgeConfig, packageJSON });
      expect(outPath).to.match(/1\.2\.3~beta\.4/);
    });
  }

electron-installer-debian

Create a Debian package for your Electron app.

MIT
Latest version published 1 year ago

Package Health Score

60 / 100
Full package analysis