Skip to content

fix(release): package Windows TUI without cmd shim - #1038

Merged
XingYu-Zhong merged 1 commit into
masterfrom
develop
Jul 31, 2026
Merged

fix(release): package Windows TUI without cmd shim#1038
XingYu-Zhong merged 1 commit into
masterfrom
develop

Conversation

@XingYu-Zhong

Copy link
Copy Markdown
Collaborator

Summary

Fix the v0.2.32 Windows standalone TUI packaging failure caused by executing npm.cmd with execFileSync.

Changes

  • invoke npm CLI through the current Node executable using npm_execpath
  • keep the install shell-free on all platforms
  • add regression coverage for Windows npm paths and missing npm CLI metadata

Tests

  • npm run test:tui-release
  • npx eslint scripts/package-tui.mjs scripts/package-tui.test.mjs
  • git diff --check

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR checks failed. Please fix the failing CI jobs before merging.

Failed jobs:

  • Typecheck and test

Run details: https://github.com/KunAgent/Kun/actions/runs/30591704946

@XingYu-Zhong
XingYu-Zhong dismissed github-actions[bot]’s stale review July 31, 2026 00:53

Superseded by the successful rerun on a clean runner.

@XingYu-Zhong
XingYu-Zhong merged commit 787ee1a into master Jul 31, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant