[arch-commits] Commit in code/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Fri Apr 12 09:04:30 UTC 2019
Date: Friday, April 12, 2019 @ 09:04:30
Author: ffy00
Revision: 451221
upgpkg: code 1.33.1-1
Modified:
code/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-12 08:44:38 UTC (rev 451220)
+++ PKGBUILD 2019-04-12 09:04:30 UTC (rev 451221)
@@ -4,7 +4,7 @@
pkgname=code
pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
-pkgver=1.33.0
+pkgver=1.33.1
pkgrel=1
arch=('x86_64')
url='https://github.com/Microsoft/vscode'
@@ -70,6 +70,11 @@
s|@@ICON@@|code-oss|g
s|@@LICENSE@@|MIT|g
s|inode/directory;||' resources/linux/code.{appdata.xml,desktop}
+
+ # Fix bin path
+ sed -i "s|return path.join(path.dirname(execPath), 'bin', \`\${product.applicationName}\`);|return '/usr/bin/code';|g
+ s|return path.join(appRoot, 'scripts', 'code-cli.sh');|return '/usr/bin/code';|g" \
+ src/vs/platform/environment/node/environmentService.ts
}
build() {
More information about the arch-commits
mailing list