electron-installer-zip

0.1.2 • Public • Published

electron-installer-zip travis npm

Create a zip file with support for symlinks required by electron on osx.

Installation

# For use in npm scripts
npm i electron-installer-zip --save-dev

# For use from cli
npm i electron-installer-zip -g

Usage

electron-installer-zip <dir> <out>
 
Options:
  --verbose  Confused or trying to track down a bug and want lots of debug
             output?                                  [boolean] [default: false]
  --help     Show help                                                 [boolean]
var zip = require('electron-installer-zip');
 
var opts = {
  dir: 'dist/MongoDB Compass-darwin-x64/MongoDB Compass.app',
  out: 'dist/'
};
 
zip(opts, function(err, res) {
  if (err) {
    console.error(err);
    process.exit(1);
  }
  console.log('Zip file written to: ', res);
});
 

License

Apache 2.0

/electron-installer-zip/

    Package Sidebar

    Install

    npm i electron-installer-zip

    Weekly Downloads

    440

    Version

    0.1.2

    License

    Apache-2.0

    Last publish

    Collaborators

    • orechova
    • himanshusinghs
    • c-buckingham
    • mongo-j
    • mabaasit
    • alexander_schroll
    • chuck.kalmanek
    • mongodb-js-user
    • rueckstiess
    • durran
    • lerouxb
    • fredtruman
    • mbroadst
    • hswolff
    • satyasinha
    • matt_d_rat
    • rhysm
    • tomhollander
    • alena.khineika
    • jeff-allen-mongo
    • mmarcon
    • jonathan.balsano
    • mongodb-build
    • jack.weir
    • stennie
    • mcasimir
    • kristina.stefano
    • jarjee
    • shaketbaby
    • devtoolsbot
    • addaleax
    • gribnoysup
    • mutukrish
    • vertedinde
    • georgexu99
    • erickzhao
    • marshallofsound
    • malept
    • imlucas