From ba4e1f297183701453826cfd15bc6207ab5f222e Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Fri, 15 Oct 2021 13:33:28 +0200 Subject: [PATCH] vscode: update to 1.61.1 disable-crash-reporter.patch: - removed defunct part (which would yield false for a < b === undefined) --- srcpkgs/vscode/patches/disable-crash-reporter.patch | 13 ------------- srcpkgs/vscode/template | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/srcpkgs/vscode/patches/disable-crash-reporter.patch b/srcpkgs/vscode/patches/disable-crash-reporter.patch index 17c0b0db545c..d91f6895969c 100644 --- a/srcpkgs/vscode/patches/disable-crash-reporter.patch +++ b/srcpkgs/vscode/patches/disable-crash-reporter.patch @@ -54,18 +54,5 @@ 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 -diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts -index 1d71361b942..6452f501e34 100644 ---- a/src/vs/code/electron-main/app.ts -+++ b/src/vs/code/electron-main/app.ts -@@ -992,7 +992,7 @@ export class CodeApplication extends Disposable { - if (argvJSON['enable-crash-reporter'] === undefined) { - const telemetryConfig = getTelemetryLevel(this.configurationService); - const enableCrashReporterSetting = telemetryConfig >= TelemetryLevel.ERROR; -- const enableCrashReporter = typeof enableCrashReporterSetting === 'boolean' ? enableCrashReporterSetting : true; -+ const enableCrashReporter = typeof enableCrashReporterSetting === 'boolean' ? enableCrashReporterSetting : false; - const additionalArgvContent = [ - '', - ' // Allows to disable crash reporting.', -- 2.32.0 diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 102635ef5d5d..84657a597108 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.61.0 +version=1.61.1 revision=1 _electronver=13.3.0 hostmakedepends="pkg-config python nodejs yarn tar git ripgrep" @@ -11,7 +11,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=68bff7284804054cdd38ae3984ecb2a23af86668e23ec2335440dc56a2d1e82a +checksum=e0aadb434252fd5f7a2ebf979d7e4db138148327c641a0214725eae1c22459c3 nocross=yes # x64 build does not cut it, it contains native code if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then