vscode: update to 1.57.1

This commit is contained in:
Alex Lohr 2021-06-18 21:42:12 +02:00 committed by Érico Nogueira Rolim
parent de6a1f99de
commit cdd949f046
4 changed files with 12 additions and 12 deletions

View file

@ -1,8 +1,8 @@
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
index a06f3f63d89..67aa7c4a7aa 100644
index a6e043f122c..2c537818fca 100644
--- a/build/gulpfile.vscode.js
+++ b/build/gulpfile.vscode.js
@@ -285,7 +285,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
@@ -292,7 +292,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
.pipe(util.skipDirectories())
.pipe(util.fixWin32DirectoryPermissions())
.pipe(filter(['**', '!**/.github/**'], { dot: true })) // https://github.com/microsoft/vscode/issues/116523

View file

@ -1,5 +1,5 @@
diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
index 06973937f149..78f72c9e9ed5 100755
index 06973937f14..78f72c9e9ed 100755
--- a/resources/linux/bin/code.sh
+++ b/resources/linux/bin/code.sh
@@ -44,7 +44,7 @@ else
@ -12,27 +12,27 @@ index 06973937f149..78f72c9e9ed5 100755
fi
diff --git a/resources/linux/code-url-handler.desktop b/resources/linux/code-url-handler.desktop
index 7106e0e0969b..bab6df4eeb53 100644
index b85525fbd04..bab6df4eeb5 100644
--- a/resources/linux/code-url-handler.desktop
+++ b/resources/linux/code-url-handler.desktop
@@ -2,7 +2,7 @@
Name=@@NAME_LONG@@ - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
-Exec=@@EXEC@@ --open-url %U
-Exec=@@EXEC@@ --no-sandbox --open-url %U
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --open-url %U
Icon=@@ICON@@
Type=Application
NoDisplay=true
diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop
index ab3b79a011b7..a014f6748d0b 100755
index 62d6bfc47b4..a014f6748d0 100755
--- a/resources/linux/code.desktop
+++ b/resources/linux/code.desktop
@@ -2,7 +2,7 @@
Name=@@NAME_LONG@@
Comment=Code Editing. Redefined.
GenericName=Text Editor
-Exec=@@EXEC@@ --unity-launch %F
-Exec=@@EXEC@@ --no-sandbox --unity-launch %F
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --unity-launch %F
Icon=@@ICON@@
Type=Application
@ -41,6 +41,6 @@ index ab3b79a011b7..a014f6748d0b 100755
[Desktop Action new-empty-window]
Name=New Empty Window
-Exec=@@EXEC@@ --new-window %F
-Exec=@@EXEC@@ --no-sandbox --new-window %F
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --new-window %F
Icon=@@ICON@@

View file

@ -1,8 +1,8 @@
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
index a06f3f63d89..7bdca3af3fb 100644
index a6e043f122c..276823dede9 100644
--- a/build/gulpfile.vscode.js
+++ b/build/gulpfile.vscode.js
@@ -273,7 +273,15 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
@@ -280,7 +280,15 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
'resources/win32/code_150x150.png'
], { base: '.' }));
} else if (platform === 'linux') {

View file

@ -1,6 +1,6 @@
# Template file for 'vscode'
pkgname=vscode
version=1.57.0
version=1.57.1
revision=1
_electronver=12.0.9
hostmakedepends="pkg-config python nodejs yarn tar git"
@ -11,7 +11,7 @@ maintainer="shizonic <realtiaz@gmail.com>"
license="MIT"
homepage="https://code.visualstudio.com/"
distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz"
checksum=36d3062740125ea4477ba671c53c27293660a1ae61d712d936af12c7f89ab17e
checksum=a6609493cacf1cd2796c9c923fc59193feee2ff106c4369affe9d2dcef81a20c
patch_args="-Np1"
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then