-
Notifications
You must be signed in to change notification settings - Fork 888
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7864 from brave/protocol-associations
Set ipns and ifps as default handlers
- Loading branch information
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
patches/chrome-installer-linux-common-desktop.template.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/chrome/installer/linux/common/desktop.template b/chrome/installer/linux/common/desktop.template | ||
index 73bb065f5c0d4c462ca2c6a872c56068ea98ec43..df5b8e18e2e288f21a0826c3e5b8f41c1d213e37 100644 | ||
--- a/chrome/installer/linux/common/desktop.template | ||
+++ b/chrome/installer/linux/common/desktop.template | ||
@@ -111,7 +111,7 @@ Terminal=false | ||
Icon=@@PACKAGE@@ | ||
Type=Application | ||
Categories=Network;WebBrowser; | ||
-MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https; | ||
+MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ipfs;x-scheme-handler/ipns; | ||
Actions=new-window;new-private-window; | ||
|
||
[Desktop Action new-window] |