mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
feat: 开启鼠标点击功能
This commit is contained in:
@@ -4,7 +4,7 @@ import { isEnvTruthy } from 'src/utils/envUtils.js'
|
|||||||
import { useStartupNotification } from './useStartupNotification.js'
|
import { useStartupNotification } from './useStartupNotification.js'
|
||||||
|
|
||||||
const NPM_DEPRECATION_MESSAGE =
|
const NPM_DEPRECATION_MESSAGE =
|
||||||
'Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.'
|
''
|
||||||
|
|
||||||
export function useNpmDeprecationNotification(): void {
|
export function useNpmDeprecationNotification(): void {
|
||||||
useStartupNotification(async () => {
|
useStartupNotification(async () => {
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export function isFullscreenEnvEnabled(): boolean {
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return process.env.USER_TYPE === 'ant'
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user