How to use the electron-installer-debian 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 IceEnd / Yosoro / scripts / packageDeb.js View on Github external
import { productName, version } from '../package.json';

const options = {
  bin: 'Yosoro',
  version,
  productName,
  genericName: productName,
  categories: ['Utility'],
  src: path.resolve(__dirname, '../out', `${productName}-linux-x64`),
  dest: path.resolve(__dirname, '../out', `${productName}-linux-x64-deb-${version}`),
  arch: 'amd64',
  icon: path.resolve(__dirname, '../app/main/resource/app.png'),
  homepage: 'https://yosoro.coolecho.net',
};

installer(options)
  .then(() => console.info(`Successfully created package at ${options.dest}`))
  .catch((err) => {
    console.error(err, err.stack);
    process.exit(1);
  });

electron-installer-debian

Create a Debian package for your Electron app.

MIT
Latest version published 9 months ago

Package Health Score

67 / 100
Full package analysis