mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-29 06:02:40 +00:00
37 lines
2.2 KiB
Diff
37 lines
2.2 KiB
Diff
Origin: https://gitlab.com/kalilinux/packages/code-oss/-/raw/20dba6c293bb4a6a7dca54acf08b0d52d3dd50d3/debian/patches/Remove-more-telemetry.patch
|
|
From: Sophie Brun <sophie@offensive-security.com>
|
|
Date: Wed, 8 Mar 2023 16:36:34 +0100
|
|
Subject: Remove more telemetry
|
|
|
|
---
|
|
src/vs/workbench/contrib/preferences/common/preferencesContribution.ts | 2 +-
|
|
src/vs/workbench/electron-sandbox/desktop.contribution.ts | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/vs/workbench/contrib/preferences/common/preferencesContribution.ts b/src/vs/workbench/contrib/preferences/common/preferencesContribution.ts
|
|
index e5cec6f..9c9e169 100644
|
|
--- a/src/vs/workbench/contrib/preferences/common/preferencesContribution.ts
|
|
+++ b/src/vs/workbench/contrib/preferences/common/preferencesContribution.ts
|
|
@@ -111,7 +111,7 @@ registry.registerConfiguration({
|
|
'workbench.settings.enableNaturalLanguageSearch': {
|
|
'type': 'boolean',
|
|
'description': nls.localize('enableNaturalLanguageSettingsSearch', "Controls whether to enable the natural language search mode for settings. The natural language search is provided by a Microsoft online service."),
|
|
- 'default': true,
|
|
+ 'default': false,
|
|
'scope': ConfigurationScope.WINDOW,
|
|
'tags': ['usesOnlineServices']
|
|
},
|
|
diff --git a/src/vs/workbench/electron-browser/desktop.contribution.ts b/src/vs/workbench/electron-browser/desktop.contribution.ts
|
|
index 008bc5e..b231c72 100644
|
|
--- a/src/vs/workbench/electron-browser/desktop.contribution.ts
|
|
+++ b/src/vs/workbench/electron-browser/desktop.contribution.ts
|
|
@@ -330,7 +330,7 @@
|
|
'telemetry.enableCrashReporter': {
|
|
'type': 'boolean',
|
|
'description': localize('telemetry.enableCrashReporting', "Enable crash reports to be collected. This helps us improve stability. \nThis option requires restart to take effect."),
|
|
- 'default': true,
|
|
+ 'default': false,
|
|
'tags': ['usesOnlineServices', 'telemetry'],
|
|
'markdownDeprecationMessage': localize('enableCrashReporterDeprecated', "If this setting is false, no telemetry will be sent regardless of the new setting's value. Deprecated due to being combined into the {0} setting.", `\`#${TELEMETRY_SETTING_ID}#\``),
|
|
}
|