-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Pref: default torrent file handler #771
Conversation
Before, the app made itself the default torrent file handler automatically, pissing off some of our users. Now, it's not by default, and you can change it in the prefs.
|
||
function toggleFileHandlers () { | ||
var isFileHandler = state.unsaved.prefs.isFileHandler | ||
dispatch('updatePreferences', 'isFileHandler', !isFileHandler) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use setStateValue
to match the other place it's used. Or, better just get rid of that function and call dispatch('updatePreferences', ...)
directly everywhere.
LGTM 👍 |
I think the program should initially associate with the |
@mathiasvr The menu label is misleading. This preference affects both .torrent and magnet handling. On macOS, the .torrent association is automatic (defined in Info.plist). So if there's no other handler, WebTorrent will be default. If there's another default, then the user can still use "Open With..." to select WebTorrent. On Windows / Linux, the current situation (after this PR) is that WebTorrent does nothing until the preference is toggled. This is not ideal -- thanks for pointing this out. With this change, now the I think we need to change
@dcposch Does that seem reasonable to you? |
Let's move discussion to this new issue: #773 (Don't want to lose track of it by discussing in this closed PR.) |
Released in WebTorrent Desktop v0.11! |
Before, the app made itself the default torrent file handler automatically, pissing off some of our users. Now, it's not by default, and you can change it in the prefs.
Fixes #367