Initial rewrite
Move event listeners
Add URLs for different platforms
Rename `ok` event to `success`
Add instructions on how to install manually if everything fails

Fixes #22.
Update dependencies