fix: 修正检查安装状态的路径变量,确保正确引用用户目录

This commit is contained in:
catlog22
2026-02-08 09:43:02 +08:00
parent b22298d868
commit 3b14f98994

View File

@@ -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
}; };
} }