Add URL handler support for Linux desktops

Fixes #48528
This commit is contained in:
Segev Finer
2018-08-18 04:47:54 +03:00
parent 0b8e20847a
commit 8f83890068
4 changed files with 32 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ update-alternatives --install /usr/bin/editor editor /usr/bin/@@NAME@@ 0
# Install the desktop entry
if hash desktop-file-install 2>/dev/null; then
desktop-file-install /usr/share/applications/@@NAME@@.desktop
desktop-file-install /usr/share/applications/@@NAME@@-url-handler.desktop
fi
if [ "@@NAME@@" != "code-oss" ]; then