codepet 1.0.20 → 1.0.21

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.
Files changed (2) hide show
  1. package/bin/codepet.js +1 -1
  2. package/package.json +1 -1
package/bin/codepet.js CHANGED
@@ -488,7 +488,7 @@ function doPopup() {
488
488
  // Windows: 弹新 PowerShell 窗口,自动开启 ANSI 彩色支持
489
489
  const script = path.join(__dirname, '..', 'scripts', 'polaroid.py').replace(/\\/g, '/');
490
490
  // Windows: cmd /c "start cmd /k ..." 是最可靠的弹窗方式
491
- execSync(`cmd /c "start cmd /k ${PYTHON} "${script}" ${pet.character} ${scene} 40"`, { shell: true, stdio: 'ignore' });
491
+ execSync(`cmd /c "start cmd /k ${PYTHON} ${script} ${pet.character} ${scene} 40"`, { shell: true, stdio: 'ignore' });
492
492
  } else {
493
493
  // Linux: 尝试终端弹窗
494
494
  const script = path.join(__dirname, '..', 'scripts', 'polaroid.py');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codepet",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "在编程软件里养电子宠物 — 支持 Claude Code / Codex / Cursor / VS Code 等 10+ 平台",
5
5
  "main": "core/index.js",
6
6
  "bin": {