vscode: update to 1.61.1

disable-crash-reporter.patch:
- removed defunct part (which would yield false for a < b === undefined)
This commit is contained in:
Alex Lohr 2021-10-15 13:33:28 +02:00 committed by Michal Vasilek
parent a621df34f4
commit 602d5b2383
2 changed files with 2 additions and 15 deletions

View file

@ -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

View file

@ -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 <realtiaz@gmail.com>"
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