From 557a2e0e383ac8a8a50a230033289eadb39e8498 Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Thu, 6 Oct 2022 22:11:53 +0200 Subject: [PATCH] vscode: update to 1.72.0 --- srcpkgs/vscode/patches/disable-crash-reporter.patch | 13 +++++-------- srcpkgs/vscode/template | 4 ++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/vscode/patches/disable-crash-reporter.patch b/srcpkgs/vscode/patches/disable-crash-reporter.patch index dac81e3341c4..579001d74851 100644 --- a/srcpkgs/vscode/patches/disable-crash-reporter.patch +++ b/srcpkgs/vscode/patches/disable-crash-reporter.patch @@ -14,12 +14,12 @@ So, disable it entirely. No cookies for you, Visual Studio Code team. 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/main.js b/src/main.js -index ad838aa245e..e6319e100b9 100644 +index f7e6e49a967..88513af6dec 100644 --- a/src/main.js +++ b/src/main.js -@@ -46,22 +46,6 @@ const codeCachePath = getCodeCachePath(); - // Configure static command line arguments - const argvConfig = configureCommandlineSwitchesSync(args); +@@ -46,21 +46,6 @@ const argvConfig = configureCommandlineSwitchesSync(args); + // Disable default menu (https://github.com/electron/electron/issues/35512) + Menu.setApplicationMenu(null); -// Configure crash reporter -perf.mark('code/willStartCrashReporter'); @@ -31,8 +31,7 @@ index ad838aa245e..e6319e100b9 100644 -// * --disable-crash-reporter command line parameter is not set -// -// Disable crash reporting in all other cases. --if (args['crash-reporter-directory'] || -- (argvConfig['enable-crash-reporter'] && !args['disable-crash-reporter'])) { +-if (args['crash-reporter-directory'] || (argvConfig['enable-crash-reporter'] && !args['disable-crash-reporter'])) { - configureCrashReporter(); -} -perf.mark('code/didStartCrashReporter'); @@ -40,5 +39,3 @@ index ad838aa245e..e6319e100b9 100644 // Set logs path before app 'ready' event if running portable // to ensure that no 'logs' folder is created on disk at a // location outside of the portable directory --- -2.32.0 diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 5d04c9e123e4..437c14d230cd 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.71.2 +version=1.72.0 revision=1 _electronver=19.0.8 _npmver=8.6.0 @@ -12,7 +12,7 @@ maintainer="shizonic , Alex Lohr " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz" -checksum=e30d9d970d62185e021ee069106e71bec1488883650d09e4d987edca9b5b14fc +checksum=a0cf50ca42df4c68f08c239dd07316620443f9af3c8a3754f805c2ab8704c2d9 nocross=yes # x64 build does not cut it, it contains native code if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then