Set peer ID to start with "-WD-"

To distinguish WebTorrent Desktop (WD) from WebTorrent in the browser
(WW).

See the spec:

http://www.bittorrent.org/beps/bep_0020.html
https://wiki.theory.org/BitTorrentSpecification
This commit is contained in:
Feross Aboukhadijeh
2016-07-26 20:20:01 -07:00
parent 6891ef1a0d
commit cb71de2313
2 changed files with 33 additions and 3 deletions

View File

@@ -24,6 +24,7 @@
"drag-drop": "^2.11.0",
"electron-prebuilt": "1.3.0",
"fs-extra": "^0.30.0",
"hat": "0.0.3",
"iso-639-1": "^1.2.1",
"languagedetect": "^1.1.1",
"musicmetadata": "^2.0.2",