wulkano / Aperture

Record the screen on macOS
MIT License
1.24k stars 111 forks source link

Ship aperture as binary #22

Closed StefMa closed 7 years ago

StefMa commented 7 years ago

This will fix #19 (hopefully) 😄..

The npm package now includes "only" the aperture-compiled-swift binary and the index.js. Beside of the stuff which is always packed with npm pack like README and license.

I've tested it like this:

  1. run npm pack
  2. uploaded the tgz to github releases
  3. Used these url as dependency in another project:
    "dependencies": {
    "aperture.js": "https://github.com/StefMa/aperture.js/releases/download/v0.1.0/aperture.js-0.1.0.tgz"
    },
  4. run yarn/npm install
  5. run my app which can record the screen with aperture \o/
StefMa commented 7 years ago

Rebased and removed the build.sh file... 👍

sindresorhus commented 7 years ago

Thank you :)