Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associate .torrent files to WebTorrent Desktop (OS X) #553

Merged
merged 1 commit into from May 21, 2016

Conversation

feross
Copy link
Member

@feross feross commented May 21, 2016

Before this change, .torrent files would only be associated to
WebTorrent Desktop if another torrent client (like Transmission) was
installed on the system.

That's because one of the user's apps needs to define
"UTExportedTypeDeclarations".

On a fresh machine, without Transmission, WebTorrent Desktop now
associates .torrent files correctly.

So it will appear in the "Open With..." menu and the webtorrent
.torrent icon will be used for .torrent files.

Closes #542

Before this change, .torrent files would only be associated to
WebTorrent Desktop if another torrent client (like Transmission) was
installed on the system.

That's because one of the user's apps needs to define
"UTExportedTypeDeclarations".

On a fresh machine, without Transmission, WebTorrent Desktop now
associates .torrent files correctly.

So it will appear in the "Open With..." menu and the webtorrent
.torrent icon will be used for .torrent files.

Closes #542.
@dcposch
Copy link
Contributor

dcposch commented May 21, 2016

LGTM. Eventually we should have a prefs page with an option for whether you want Webtorrent to be the default app for .torrent files

@dcposch dcposch merged commit 52bc972 into master May 21, 2016
@feross
Copy link
Member Author

feross commented May 23, 2016

@dcposch I believe that this Info.plist stuff only tells OS X that WebTorrent Desktop can open .torrent files, but it doesn't actually change your preference if you have it set to something else. But we can test this.

We do take over magnet links without asking first, though. Issue here: #367

@feross feross deleted the torrent-files-osx branch May 23, 2016 00:07
mathiasvr pushed a commit to mathiasvr/webtorrent-desktop that referenced this pull request May 26, 2016
Before this change, .torrent files would only be associated to
WebTorrent Desktop if another torrent client (like Transmission) was
installed on the system.

That's because one of the user's apps needs to define
"UTExportedTypeDeclarations".

On a fresh machine, without Transmission, WebTorrent Desktop now
associates .torrent files correctly.

So it will appear in the "Open With..." menu and the webtorrent
.torrent icon will be used for .torrent files.

Closes webtorrent#542.
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants