Igor Klopov
95042e1a77
Ask to re-install with `--unsafe-perm` on `EACCES` ( #683 )
* ask user to reinstall with --unsafe-perm on EACCES
* webpack overrides process.env totally. removed DefinePlugin
* Cleaned up the code a little
* Missing import comments added
8 years ago
Leo Lamprecht
b6a714f6c7
Be more definite about what is being installed
8 years ago
Igor Klopov
627ded2ee7
Removed useless code from installation mechanism ( #663 )
8 years ago
Leo Lamprecht
390eaef7b5
Allowed using `process.exit()` in installation script
8 years ago
Leo Lamprecht
15b9b258ed
Don't trigger installation when in development mode
8 years ago
Igor Klopov
2873dcc4e4
Download from GitHub directly ( #625 )
* directly downloads the version specified in package.json.version
* catch 'error' event from resp.body
8 years ago
Igor Klopov
cea8aea3c0
the 'now' installation ( #590 )
8 years ago
Leo Lamprecht
23bc156a07
Improved filename of postinstall script
8 years ago
Igor Klopov
ff5d38644c
Added 'downloading' and 'interrupted' state ( #570 )
* move placeholder population to index.js
* detect ctrl+c and put 'please reinstall' to placeholder
8 years ago
Leo Lamprecht
8d427de1e3
Retrieve the correct URL for downloading the CLI
8 years ago
Leo Lamprecht
fe0c4a35cf
Read `package.json` on runtime when downloading
8 years ago
Leo Lamprecht
672a16168c
Always download the specified version
8 years ago
Leo Lamprecht
f92e556b7c
Build inside a single directory
8 years ago
Leo Lamprecht
bbee653c29
Add now cli proxy ( #569 )
* unite now-cli and now-cli-proxy into single repo
* fix xo
* package.json.name is `now`
8 years ago