lbry-desktop/electron
infinite-persistence 7521ac53a3 Linux: Don't add extra call to associate 'lbry://'
## Issue
Closes 4729: LBRY desktop auto-sets itself as default application for opening html files in Linux file managers like nemo after logout and login or a cold/warm boot

- https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/180
    - It appears that there is a piece of code in xdg that defaults the type to 'text/html' if the parameter is empty. I'm not sure if that's entirely xdg's fault, or it's the way Electron's `setAsDefaultProtocolClient` uses it.

## Changes
In Linux Mint at least, it seems like the `protocols` entry in `electron-builder.json` is enough to associate the LBRY protocol to this app. The extra `setAsDefaultProtocolClient` seems unnecessary.

My test method:
With `setAsDefaultProtocolClient` removed for Linux,
- <a href="lbry://xxx"> still opens the app.
- <a href="lbry://xxx"> does not open the app if the `protocols` entry is removed from `electron-build.json` (confirming that it's doing it's job).
2021-03-08 11:21:41 -05:00
..
menu flow fixes 2020-12-16 10:52:22 -05:00
createTray.js Fix linting errors. 2021-01-29 10:10:10 -05:00
createWindow.js fix lang constant 2021-01-18 14:19:08 -05:00
Daemon.js bundle wallet headers in app 2019-12-19 14:26:50 -05:00
devServer.js linking lbry-redux works 2019-11-21 11:44:56 -05:00
index.js Linux: Don't add extra call to associate 'lbry://' 2021-03-08 11:21:41 -05:00
installDevtools.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
LbryFirstInstance.js Initial commit for LBRY-First 2020-07-08 14:23:43 -04:00
sandboxTest.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
startSandbox.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
unpackByOutpoint.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00