未验证 提交 d99f5776 编写于 作者: H Harald Kirschner 提交者: GitHub

Limit forced Get Started page by product config (#134169)

上级 2b2b299e
......@@ -114,7 +114,7 @@ export interface IProductConfiguration {
readonly reportMarketplaceIssueUrl?: string;
readonly licenseUrl?: string;
readonly privacyStatementUrl?: string;
readonly telemetryOptOutUrl?: string;
readonly showTelemetryOptOut?: boolean;
readonly npsSurveyUrl?: string;
readonly cesSurveyUrl?: string;
......
......@@ -52,6 +52,7 @@ export class WelcomePageContribution implements IWorkbenchContribution {
// Always open Welcome page for first-launch, no matter what is open or which startupEditor is set.
if (
product.enableTelemetry
&& product.showTelemetryOptOut
&& getTelemetryLevel(this.configurationService) !== TelemetryLevel.NONE
&& !this.environmentService.skipWelcome
&& !this.storageService.get(telemetryOptOutStorageKey, StorageScope.GLOBAL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册