修改settings:关闭遥测和遥测崩溃报告,关闭Application自动更新和显示releaseNotes

This commit is contained in:
chriswang521 2023-03-17 17:43:31 +08:00
parent bd158b40ef
commit 22efe80ab3
3 changed files with 4 additions and 4 deletions

View File

@ -291,7 +291,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
localize('telemetry.telemetryLevel.off', "Disables all product telemetry.") localize('telemetry.telemetryLevel.off', "Disables all product telemetry.")
], ],
'markdownDescription': getTelemetryLevelSettingDescription(), 'markdownDescription': getTelemetryLevelSettingDescription(),
'default': TelemetryConfiguration.ON, 'default': TelemetryConfiguration.OFF,
'restricted': true, 'restricted': true,
'scope': ConfigurationScope.APPLICATION, 'scope': ConfigurationScope.APPLICATION,
'tags': ['usesOnlineServices', 'telemetry'] 'tags': ['usesOnlineServices', 'telemetry']

View File

@ -18,7 +18,7 @@ configurationRegistry.registerConfiguration({
'update.mode': { 'update.mode': {
type: 'string', type: 'string',
enum: ['none', 'manual', 'start', 'default'], enum: ['none', 'manual', 'start', 'default'],
default: 'default', default: 'none',
scope: ConfigurationScope.APPLICATION, scope: ConfigurationScope.APPLICATION,
description: localize('updateMode', "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."), description: localize('updateMode', "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."),
tags: ['usesOnlineServices'], tags: ['usesOnlineServices'],
@ -46,7 +46,7 @@ configurationRegistry.registerConfiguration({
}, },
'update.showReleaseNotes': { 'update.showReleaseNotes': {
type: 'boolean', type: 'boolean',
default: true, default: false,
scope: ConfigurationScope.APPLICATION, scope: ConfigurationScope.APPLICATION,
description: localize('showReleaseNotes', "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."), description: localize('showReleaseNotes', "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."),
tags: ['usesOnlineServices'] tags: ['usesOnlineServices']

View File

@ -251,7 +251,7 @@ import { ModifierKeyEmitter } from 'vs/base/browser/dom';
'telemetry.enableCrashReporter': { 'telemetry.enableCrashReporter': {
'type': 'boolean', 'type': 'boolean',
'description': localize('telemetry.enableCrashReporting', "Enable crash reports to be collected. This helps us improve stability. \nThis option requires restart to take effect."), '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'], '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}#\``), '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}#\``),
} }