feat(cli): discover Bash for Windows runners

Use Pi-style Bash discovery and launch behavior, exercise the packaged CLI shell, and wait for pending ZIP metadata reads before closing cancelled downloads.
This commit is contained in:
yiling
2026-11-18 10:57:04 +08:00
parent 776f6962b6
commit fd4dc211f8
18 changed files with 453 additions and 63 deletions
+2
View File
@@ -521,6 +521,8 @@ async function buildCliPackage() {
target: 'node',
outdir: binOutDir,
minify: true,
banner:
'/*\n' + readFileSync(path.join(rootDir, 'apps/cli/THIRD-PARTY-NOTICES.txt'), 'utf8') + '*/',
naming: 'shumai-cli.js',
plugins: [srtBundlePlugin()],
external: [],