Feross Aboukhadijeh 3a81799828 Unify onOpen and onDrag, and support more cases
I don't think it matters whether the open comes from onOpen (opening
magnet, .torrent file, dragging file to dock, menu item) or from
dragging to the window.

These should use the same code path. The only relevant information is
the page of the app that we're on.

This change unifies the two methods, and supports dragging .torrent
files or creating a torrent when the player is active, if the dragged
files are not .srt or .vtt. We go back to the list, or to the create
torrent page in these situations, so it's not confusing for the user.

Always close open modals when handling an open.
2016-05-19 19:03:47 -07:00
2016-05-17 22:10:43 -07:00
2016-05-18 00:36:52 -07:00
2016-02-16 17:22:24 -08:00
2016-03-21 04:42:52 -07:00
2016-05-13 22:01:00 -07:00
2016-05-18 00:49:06 -07:00
2016-05-13 13:29:25 -07:00
2016-04-01 21:27:47 -07:00
2016-05-11 17:52:18 +02:00
2016-01-02 16:01:08 +01:00
2016-05-18 02:07:24 -07: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%