DC 0b85ba9f32 Show an error when adding a dupe torrent
This works around a WebTorrent bug where calling client.add(torrentFilePath) to add a duplicate torrent -- in other words, one whose infoHash we're already torrenting -- creates a new torrent object and later throws an error. Inconsistently, calling client.add(magnetURI) or client.add(infoHash) to add a duplicate torrent returns the existing torrent object that we're already torrenting and doesn't throw an error.

This also fixes a prety nasty bug where pasting a dupe magnet link changed the torrentKey of an existing torrent, breaking the communication between the main and WebTorrent windows

Fixes #364
2016-04-19 20:31:13 -07:00
2016-04-16 04:18:21 -07:00
2016-04-19 06:59:11 -07:00
2016-02-16 17:22:24 -08:00
2016-03-21 04:42:52 -07:00
2016-03-20 16:01:23 -07:00
2016-04-16 04:18:21 -07:00
2016-04-01 21:27:47 -07:00
2016-04-06 05:05:26 -07:00
2016-03-21 20:19:30 -07:00
2016-01-02 16:01:08 +01:00
2016-04-16 04:18:21 -07:00


WebTorrent
WebTorrent Desktop

The streaming torrent client. For OS X, Windows, and Linux.

Gitter Travis Release

Install

WebTorrent Desktop is still under very active development. You can download the latest version from the releases page.

Screenshot

screenshot

How to Contribute

Install dependencies

$ npm install

Run app

$ npm start

Package app

Builds app binaries for OS X, Linux, and Windows.

$ npm run package

To build for one platform:

$ npm run package -- [platform]

Where [platform] is darwin, linux, win32, or all (default).

The following optional arguments are available:

  • --sign - Sign the application (OS X, Windows)
  • --package=[type] - Package single output type.
    • deb - Debian package
    • zip - Linux zip file
    • dmg - OS X disk image
    • exe - Windows installer
    • portable - Windows portable app
    • all - All platforms (default)

Note: Even with the --package option, the auto-update files (.nupkg for Windows, *-darwin.zip for OS X) will always be produced.

Windows build notes

To package the Windows app from non-Windows platforms, Wine needs to be installed.

On OS X, first install XQuartz, then run:

brew install wine

(Requires the Homebrew package manager.)

Code Style

js-standard-style

License

MIT. Copyright (c) Feross Aboukhadijeh.

Description
No description provided
Readme MIT 197 MiB
Languages
JavaScript 94.3%
CSS 4.6%
HTML 0.6%
EJS 0.3%
Shell 0.2%