vscode: update to 1.72.0

This commit is contained in:
Alex Lohr 2022-10-06 22:11:53 +02:00 committed by Michal Vasilek
parent d695df286e
commit f1ec0f76a7
2 changed files with 7 additions and 10 deletions

View file

@ -14,12 +14,12 @@ So, disable it entirely. No cookies for you, Visual Studio Code team.
3 files changed, 1 insertion(+), 20 deletions(-) 3 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/src/main.js b/src/main.js diff --git a/src/main.js b/src/main.js
index ad838aa245e..e6319e100b9 100644 index f7e6e49a967..88513af6dec 100644
--- a/src/main.js --- a/src/main.js
+++ b/src/main.js +++ b/src/main.js
@@ -46,22 +46,6 @@ const codeCachePath = getCodeCachePath(); @@ -46,21 +46,6 @@ const argvConfig = configureCommandlineSwitchesSync(args);
// Configure static command line arguments // Disable default menu (https://github.com/electron/electron/issues/35512)
const argvConfig = configureCommandlineSwitchesSync(args); Menu.setApplicationMenu(null);
-// Configure crash reporter -// Configure crash reporter
-perf.mark('code/willStartCrashReporter'); -perf.mark('code/willStartCrashReporter');
@ -31,8 +31,7 @@ index ad838aa245e..e6319e100b9 100644
-// * --disable-crash-reporter command line parameter is not set -// * --disable-crash-reporter command line parameter is not set
-// -//
-// Disable crash reporting in all other cases. -// Disable crash reporting in all other cases.
-if (args['crash-reporter-directory'] || -if (args['crash-reporter-directory'] || (argvConfig['enable-crash-reporter'] && !args['disable-crash-reporter'])) {
- (argvConfig['enable-crash-reporter'] && !args['disable-crash-reporter'])) {
- configureCrashReporter(); - configureCrashReporter();
-} -}
-perf.mark('code/didStartCrashReporter'); -perf.mark('code/didStartCrashReporter');
@ -40,5 +39,3 @@ index ad838aa245e..e6319e100b9 100644
// Set logs path before app 'ready' event if running portable // Set logs path before app 'ready' event if running portable
// to ensure that no 'logs' folder is created on disk at a // to ensure that no 'logs' folder is created on disk at a
// location outside of the portable directory // location outside of the portable directory
--
2.32.0

View file

@ -1,6 +1,6 @@
# Template file for 'vscode' # Template file for 'vscode'
pkgname=vscode pkgname=vscode
version=1.71.2 version=1.72.0
revision=1 revision=1
_electronver=19.0.8 _electronver=19.0.8
_npmver=8.6.0 _npmver=8.6.0
@ -12,7 +12,7 @@ maintainer="shizonic <realtiaz@gmail.com>, Alex Lohr <alex.lohr@logmein.com>"
license="MIT" license="MIT"
homepage="https://code.visualstudio.com/" homepage="https://code.visualstudio.com/"
distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz" 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 nocross=yes # x64 build does not cut it, it contains native code
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then