fix(installer): 修正复制失败提示里的失效锚点

上一个提交给 README 插入「方式二:Plugin Marketplace」后,手动安装一节
顺延为方式三,installer 报错文案里硬编码的 #方式二手动安装 锚点失效。

改为指向父级 #快速开始 —— 章节编号以后还会变,锚点不该依赖它。
This commit is contained in:
AI不止语
2026-08-07 17:34:21 +08:00
parent c2e8f6a67e
commit 23fc645402

View File

@@ -597,7 +597,7 @@ function installForTarget(target, baseDir, isGlobal) {
`\n 这通常是 npx 缓存目录权限或路径问题。请尝试:\n` +
` 1. 清理缓存后重试: npm cache clean --force && npx superpowers-zh\n` +
` 2. 或全局安装: npm i -g superpowers-zh && superpowers-zh\n` +
` 3. 或手动克隆复制: 见 https://github.com/jnMetaCode/superpowers-zh#方式二手动安装`
` 3. 或手动克隆复制: 见 https://github.com/jnMetaCode/superpowers-zh#快速开始`
);
}
const scopeTag = isGlobal ? '[全局]' : '[项目]';