Skip to content

Commit 0fbd561

Browse files
committed
Updates apps that don't support walkthroughs
1 parent 0a4184c commit 0fbd561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/telemetry/walkthroughStateProvider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import type { Event } from 'vscode';
2-
import { Disposable, EventEmitter } from 'vscode';
2+
import { Disposable, env, EventEmitter } from 'vscode';
33
import { SubscriptionState } from '../constants.subscription';
44
import type { TrackedUsageKeys } from '../constants.telemetry';
55
import type { WalkthroughContextKeys } from '../constants.walkthroughs';
66
import type { Container } from '../container';
77
import type { SubscriptionChangeEvent } from '../plus/gk/subscriptionService';
88
import { setContext } from '../system/-webview/context';
9-
import { isCursor } from '../system/-webview/cursor';
109
import { wait } from '../system/promise';
1110
import type { UsageChangeEvent } from './usageTracker';
1211

@@ -324,6 +323,7 @@ export class WalkthroughStateProvider implements Disposable {
324323
}
325324
}
326325

326+
const walkthroughsUnsupportedByApp = ['Cursor', 'Qoder', 'Trae', 'Void'];
327327
export function isWalkthroughSupported(): boolean {
328-
return !isCursor();
328+
return !walkthroughsUnsupportedByApp.includes(env.appName);
329329
}

0 commit comments

Comments
 (0)