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