@simonyea/holysheep-cli 1.7.31 → 1.7.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonyea/holysheep-cli",
3
- "version": "1.7.31",
3
+ "version": "1.7.32",
4
4
  "description": "Claude Code/Cursor/Cline API relay for China — ¥1=$1, WeChat/Alipay payment, no credit card, no VPN. One command setup for all AI coding tools.",
5
5
  "keywords": [
6
6
  "openai-china",
@@ -125,6 +125,9 @@ function installWindowsCliShims() {
125
125
  const npmBin = path.join(appData, 'npm')
126
126
  fs.mkdirSync(npmBin, { recursive: true })
127
127
 
128
+ // 如果 hs.cmd 已存在(npm install -g 生成的),不覆盖
129
+ if (fs.existsSync(path.join(npmBin, 'hs.cmd'))) return []
130
+
128
131
  const cliSpec = `@simonyea/holysheep-cli@${pkg.version}`
129
132
  // 用 %APPDATA% 展开路径(比 %~dp0 在 cmd.exe 里更可靠)
130
133
  const cmdContent = [