Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEliminate the --remove and --no-quit options #181
Closed
Labels
Comments
feross
added a commit
that referenced
this issue
Nov 19, 2014
This comment has been minimized.
This comment has been minimized.
|
Fixed in #184 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
These command line options are not frequently used, and we should be able to infer the right thing to do based on other arguments.
If the user specifies a download location with
--out, then never remove the downloaded file. Otherwise, download to/tmp/webtorrentand clean the folder at shutdown and/or startup.If the user species a streaming option (
--vlc,--airplay, etc.) or the http server sees a request, then do nothing when the torrent download is complete. Otherwise, automatically quit WebTorrent when the torrent download is complete.