mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
fix: 修正检查安装状态的路径变量,确保正确引用用户目录
This commit is contained in:
@@ -52,13 +52,13 @@ function checkCcwInstallStatus(): {
|
||||
}
|
||||
|
||||
const workflowsInstalled = existsSync(workflowsDir) && missingFiles.length === 0;
|
||||
const installed = existsSync(claudeDir) && workflowsInstalled;
|
||||
const installed = existsSync(ccwDir) && workflowsInstalled;
|
||||
|
||||
return {
|
||||
installed,
|
||||
workflowsInstalled,
|
||||
missingFiles,
|
||||
installPath: claudeDir
|
||||
installPath: ccwDir
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user