[arch-commits] Commit in code/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Apr 16 21:44:08 UTC 2020
Date: Thursday, April 16, 2020 @ 21:44:08
Author: ffy00
Revision: 615382
upgpkg: code 1.44.1-2 (add missing scheme)
Fixes FS#65753
Modified:
code/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 21:20:52 UTC (rev 615381)
+++ PKGBUILD 2020-04-16 21:44:08 UTC (rev 615382)
@@ -13,7 +13,7 @@
# Important: Remember to check https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) for target electron version
_electron=electron7
pkgver=1.44.1
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://github.com/microsoft/vscode'
license=('MIT')
@@ -80,6 +80,8 @@
s|@@URLPROTOCOL@@|vscode|g
s|inode/directory;||' resources/linux/code{.appdata.xml,.desktop,-url-handler.desktop}
+ sed -i 's|MimeType=.*|MimeType=x-scheme-handler/code-oss;|' resources/linux/code-url-handler.desktop
+
# Add completitions for code-oss
cp resources/completions/bash/code resources/completions/bash/code-oss
cp resources/completions/zsh/_code resources/completions/zsh/_code-oss
More information about the arch-commits
mailing list