Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeHappyDananx/SpecWave
/ isElectron
Function
isElectron
src/stores/project.ts:86–88 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
84
85
// 检查是否在 Electron 环境
86
function
isElectron(): boolean {
87
return
!!window.electronAPI
88
}
89
90
// 选择项目目录
91
async
function
selectProject(): Promise<boolean> {
Callers
9
selectProject
Function · 0.85
loadTaskProgressForNodes
Function · 0.85
ensureWatchDirectory
Function · 0.85
ensureFileChangeListener
Function · 0.85
loadFullTree
Function · 0.85
ensureFullTreeLoaded
Function · 0.85
loadProject
Function · 0.85
loadNodeChildren
Function · 0.85
loadFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected