moose-team / friends

:tv: P2P chat powered by the web.
http://moose-team.github.io/friends/
MIT License
3.17k stars 341 forks source link

use env var for rebuild #157

Closed ungoldman closed 8 years ago

ungoldman commented 8 years ago

Switching from using version.js to get electron-prebuilt version to using the version directly from package.json, and using $npm_package_devDependencies_electron_prebuilt for npm run rebuild-leveldb. To this end electron-prebuilt version should be locked to a specific version (no ~ or ^).

Tested locally, no errors.

ungoldman commented 8 years ago

Tests passing, self-merging since it fixes a showstopper in windows. Review welcome.